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] 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 <jirka@kosek.cz>:
> 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
> ------------------------------------------------------------------
>
>



-- 
Wolfgang Häfelinger
häfelinger IT - Applied Software Architecture
http://www.haefelinger.it
+31 648 27 61 59


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