OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook] DocBook5: literallayout in entry gives validation errors


Thomas Schraitle wrote:

> Ok, thanks. However, from a user perspective that's a bit unsatisfying as 
> any XML editor happily inserts these block elements. :) 

I would not say any. XXE doesn't allow this and although
autocompletition in oXygen offers this combination of elements they are
at the same time marked as invalid by red underlining. You can submit
this bug to oXygen developers.

> So this gives you 
> actually a false sense of validity although the DocBook Schema allows it. 
> Unfortunatly, the error message from jing is not very helpful either. 
> 
> Probably this restriction can't be easily enforced in RELAX NG, right? Can 
> it be checked with Schematron?

This restriction is enforced by the current RELAX NG schema, this is
also reason why you get error message during validation.

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------

OpenPGP digital signature



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]