Next in thread → Next in month →

Re: [docbook] upgrade 4.5 => 5.0 failed (on rather basic example)

From
wolfgang haefelinger
Date
2009-12-22T12:06:22+00:00
ID
Thread
Re: [docbook] upgrade 4.5 => 5.0 failed (on rather basic example)
Thanks for the swift feedback so far. I'm just about to digesting them ..

2009/12/21 Jirka Kosek <>:
> 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:       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
Next in thread → Next in month →