Next in thread → Next in month →

Re: [docbook] v5 feature request.

From
Dave Pawson <>
Date
2007-03-18T08:39:27+00:00
ID
Thread
Re: [docbook] v5 feature request.
Jirka Kosek wrote:
> Dave Pawson wrote:
>> Could I request a (negative) addition to the schema please.
>>
>>     <define name="db._any">
>>       <a:documentation>Any element from almost any
>> namespace</a:documentation>
>>       <element>
>>
>>         <anyName>
>>           <except>
>>             <nsName/>
>>             <nsName ns="http://www.w3.org/1999/xhtml"/>
>>         <!-- DP Added for litprog-->
>>         <nsName ns="http://nwalsh.com/xmlns/litprog/fragment"/>
>>           </except>
>>         </anyName>
> 
> Unfortunately you hit one of the very few limits of RELAX NG. You can
> not use general patterns inside <anyName>, so it is not possible to add
> new excluded namespace simply by combining new namespace name with an
> existing pattern for excluded namespaces. You have to redefine whole
> pattern for db._any.

Yes, that was the request Jirka.




regards

-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk
Next in thread → Next in month →