You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2002/05/27 15:10:02 UTC
DO NOT REPLY [Bug 9442] New: -
minInclusive factet validation alters value
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9442>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9442
minInclusive factet validation alters value
Summary: minInclusive factet validation alters value
Product: Xerces-C++
Version: 1.7.0
Platform: PC
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: Other
Component: Validating Parser (Schema) (Xerces 1.5 or up only)
AssignedTo: xerces-c-dev@xml.apache.org
ReportedBy: dws@decisionsoft.co.uk
The attached schema defines MyDecimalType to be xsd:decimal with the pattern
"-?(([1-9][0-9]*)|0)\.[0-9]{2}"
It then defined MyNewType, based on MyDecimalType, with a minInclusive value of
"0.00" which matches that pattern sucessfully. However this yields the error
Message: minInclusive value '+0' must be from the base's value space
It looks like "0.00" is being promoted to "+0" before being checked against the
base's facets. This leads it to fail.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org