[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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>
range restriction
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)?

Dave

***

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 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.