[relaxng-user] relaxNG schema of W3C Schema
CAUBEL, Hugues
hugues.caubel at airbus.com
Fri Aug 6 09:07:13 ICT 2004
Hello,
I would like to use the relax NG schema for W3C schema http://www.jenitennison.com/schema/xmlschema.rng. But I have problem to validate it, using Jing I have the following error :
xmlschema.rng:718:18: error: conflicting ID-types for attribute "id" of element "include" from namespace "http://www.w3.org/2001/XMLSchema"
and it seems to match the following definition:
<define name="anyContent">
<mixed>
<zeroOrMore>
L718 <element>
<anyName/>
<zeroOrMore>
<attribute>
<anyName/>
</attribute>
</zeroOrMore>
<ref name="anyContent"/>
<empty/>
</element>
</zeroOrMore>
</mixed>
</define>
I can't understand where is the problem.
After that, I try to convert to relax NG the DTD coming from the W3C Specification(http://www.w3.org/2001/XMLSchema.dtd and http://www.w3.org/2001/datatypes.dtd) but I have the same result :
xmlschemaofficial.rng:1118:18: error: cconflicting ID-types for attribute "id" of element "include" from namespace "http://www.w3.org/2001/XMLSchema"
<define name="any">
<zeroOrMore>
<choice>
L1118 <element>
<anyName/>
<zeroOrMore>
<attribute>
<anyName/>
</attribute>
</zeroOrMore>
<ref name="any"/>
</element>
<text/>
</choice>
</zeroOrMore>
</define>
Do you see a problem in the definition of "any" ? or is it when other elements that use it that problem arise ?
Tanks, Hugues
This e-mail is intended only for the above addressee. It may contain
privileged information. If you are not the addressee you must not copy,
distribute, disclose or use any of the information in it. If you have
received it in error please delete it and immediately notify the sender.
Security Notice: all e-mail, sent to or from this address, may be
accessed by someone other than the recipient, for system management and
security reasons. This access is controlled under Regulation of
Investigatory Powers Act 2000, Lawful Business Practises.
More information about the relaxng-user
mailing list