W3C home > Mailing lists > Public > xmlschema-dev@w3.org > August 2006

Range restriction issue with XSV

From: Hirtle, David <David.Hirtle@nrc-cnrc.gc.ca>
Date: Fri, 11 Aug 2006 16:38:39 -0400
Message-ID: <E4D07AB09F5F044299333C8D0FEB45E9012B81C5@nrccenexb1.nrc.ca>
To: <xmlschema-dev@w3.org>
I've just done some testing, and it seems that an old bug using xs:redefine to restrict the occurrence range of a group from 1-to-many to exactly 2 is still plaguing XSV. (See http://lists.w3.org/Archives/Public/xmlschema-dev/2005Feb/0041.html, noting that the message is different.)

in http://www.ruleml.org/temp/xsv-bug/restriction.xsd:
Atom :: slot*, ( arg+, slot )?

in http://www.ruleml.org/temp/xsv-bug/restriction2.xsd:
Atom :: slot*, ( arg, arg, slot )?

XSV reports slot/slot non-determinism (pasted below) when validating http://www.ruleml.org/temp/xsv-bug/restriction.xml (which points to restriction2.xsd). If this file is changed to point to restriction.xsd, all is well.

Is this a known issue (or am I missing something)?



Detected during instance validation

http://www.ruleml.org/temp/xsv-bug/restriction.xsd:22:2: Invalid: non-deterministic content model for type Atom.type: {http://www.ruleml.org/0.91/xsd}:slot/{http://www.ruleml.org/0.91/xsd}:slot
Received on Friday, 11 August 2006 20:38:50 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:36 UTC