Thanks for the swift feedback so far. I'm just about to digesting them ..
2009/12/21 Jirka Kosek <[email protected]>: > 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: [email protected] 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 > ------------------------------------------------------------------ > > -- Wolfgang Häfelinger häfelinger IT - Applied Software Architecture http://www.haefelinger.it +31 648 27 61 59 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
