[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook] v5 feature request.
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.
--
------------------------------------------------------------------
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
------------------------------------------------------------------
Want to speak at XML Prague 2007 => http://xmlprague.cz/cfp.html
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]