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] db.cals.table problem in "PTO" (bug?)


> -----Original Message-----
> From: Dalan Hurst 
> 
> The following example seems to be correct, at least as I 
> understand the
> Definitive Guide:
> 
> <article xmlns	>
>   <info><title>Test</title></info>
>   <table>
>     <title>db.cals.table</title>
>     <tgroup cols="2">
>       <colspec colname="c1" />
>       <colspec colname="c2" />
>       <thead>
>         <row>
>           <entry namest="c1" nameend="c2">Both columns.</entry>
>         </row>
>       </thead>
>       <tbody>
>         <row>
>           <entry namest="c1" nameend="c2">Both columns, MkII.</entry>
>         </row>
>         <row>
>           <entry>1st column</entry>
>           <entry>2nd column</entry>
>         </row>
>         <row>
>           <entry namest="c1" nameend="c2">Both columns again.</entry>
>         </row>
>       </tbody>
>     </tgroup>
>   </table>
> </article>
> 
> But it won't validate against docbook.rng.  If i comment out 
> the rows which
> contain cells that span, it validates, output of xmllint:
> 
> $ xmllint --noout --relaxng ../docbook/rng/docbook.rng table-test.xml
> table-test.xml:10: element entry: Relax-NG validity error : 
> Invalid attribute
> namest for element entry

[...]


The document looks alright to me, and both Jing (XML syntax, compact syntax)
and Emacs nXML (compact syntax) validate it without problems. So it could be
a bug in xmllint.

/MJ




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