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


On Sonntag, 28. Oktober 2007, Jirka Kosek wrote:
> 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. 

Ok, I exaggerated a bit. :)

> 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.

I know this option but I've disabled it. 

> You can submit this bug to oXygen developers.

Good idea, I will send a bug report.

> > 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.

After I looked into the RNG schema again, I now understand why I was 
confused by this message.

Thanks for your valuable explanations,

Thomas Schraitle

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