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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-tc message

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


Subject: Re: [docbook-tc] RelaxNG et al. [was: DocBook Technical CommitteeMeeting Minutes: 17 September 2008]


Grosso, Paul wrote:

>> ACTION: Jirka to analyze RelaxNG without Schematron.
> 
> I'd be interested to know what constraints can only
> be validated by Schematron, and what constraints can 
> be validated by RelaxNG but not XSD.

Sure, my intention was to compare all DocBook 5.0 schemas available,
including XSD and DTD.

> I note that DocBook 4.0 allowed both a fileref and an
> entityref attribute on graphic elements as well as 
> allowing content, and the prose said "element content 
> should be used in favor of either EntityRef or FileRef 
> and EntityRef should be used in favor of FileRef".  I 
> wonder, if this was acceptable, how unacceptable is it 
> not to be able to validate all DocBook 5.0 constraints 
> via a DTD or XSD.  [But this last bit isn't part of
> Jirka's action--just my editorial musing.]

Actually, even RELAX NG + Schematron can't describe all constraints of
DocBook 5.0. So, I don't think that there is anything wrong with using
XSD (or even DTD) for DocBook 5.0 authoring, but it is then more
probable that user will unintentionally create document which is
formally valid, but breaks some constraint not captured by schema used.

			Jirka

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