xs:ID in element values

Eric van der Vlist <[email protected]>
Newsgroups gmane.text.xml.relaxng.general
Organization Dyomedea (http://dyomedea.com)
Message-ID <1074863950.22372.1840.camel@delleric>
Hi,

I am working on a project where I translate a WXS schema using xs:ID for
simple type elements into RNG.

Jing gives me this error when I translate that naively into something
such as element id {xsd:ID} :

"""
a "data" or "value" pattern with non-null ID-type must occur as the
child of an "attribute" pattern
"""

That makes sense if you consider that even when using WXS datatypes, the
identity checks are done using the DTD compatibility feature, but that's
something that:

a) isn't very intuitive
b) the user should be able to switch off

James, could you implement an option in jing to switch the DTD
compatibility feature off?

Thanks

Eric
-- 
Freelance consulting and training.
                                            http://dyomedea.com/english/
Upcoming XML schema languages tutorial:
 - Santa Clara  -half day- (15/03/2004)        http://masl.to/?J24916E96
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(ISO) RELAX NG   ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.