Re: [docbook] v5 extension elements

From
Dave Pawson <>
Date
2007-09-18T06:45:47+00:00
ID
Thread
Re: [docbook] v5 extension elements
Jirka Kosek wrote:
> Dave Pawson wrote:
> 
>> 1. If I try this jing tells me
>>
>> /files/litprog/litprog.rng:45:14: error: conflicting ID-types for
>> attribute "linkend" of element "msginfo" from namespace
>> "http://docbook.org/ns/docbook"
>>
>> which I'm led to believe is the RELAX NG DTD Compatibility issue.
>> so I try
> 
> Don't use your "foreign-elements" pattern, instead use "db._any" pattern
> which is predefined in DocBook schema. This pattern excludes elements
> from known namespaces (like DocBook NS) so there is no ambiguity in
> validation and thus also not conflicting datatypes for attributes.


OK, thanks Jirka.

I'll take a look at it too!

regards


-- 
Dave Pawson
XSLT, XSL-FO and Docbook FAQ
http://www.dpawson.co.uk