Re: attribute wildcards in open and extensible schemata

"MURATA Makoto (FAMILY Given)" <[email protected]> Mon, 12 Jul 2004 08:05:03 +0900
Newsgroups gmane.text.xml.relaxng.general
Message-ID <[email protected]>
On Fri, 02 Jul 2004 20:22:32 +0200
Robin Berjon <[email protected]> wrote:

> 
> I've read the solution offered in Eric's excellent book, but it really 
> looks to me like it is a work-around trying to defeat the system than a 
> real solution. 

I do not remember Eric's solution, but I will probably do this:

1) module (svg.rnc)

each attribute wildcard is defined as 
	awc = attribute * - (svgNamespace:* | local:*) {text}

2) customized module

include "svg.rnc" {
	awc = attribute * - (svgNamespace:* | xhtmlNamespace:* | local:*) {text}
}

3) combine customized modules

Use customized modules rather than svg.rnc.

-- 
MURATA Makoto (FAMILY Given) <[email protected]>