[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook] upgrade 4.5 => 5.0 failed (on rather basic example)
wolfgang haefelinger wrote: > I'm getting an error on a rather simple document. Here it comes .. > > <?xml version=3D"1.0" encoding=3D"UTF-8"?> > <!DOCTYPE article > PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" > "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> > <article lang=3D""> > <sect1> > <title>Hello, ..</title> > <para>world</para> > </sect1> > </article> > > This document is valid according to a) Emacs/nxml and b) MSV. However this document is not proper DocBook V4.5 article as it misses <title> element as direct child of <article> or <articleinfo>. Validation hasn't spot this problem because expressing such constraint in DTD/W3C XML Schema is impossible. -- ------------------------------------------------------------------ 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 ------------------------------------------------------------------
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]