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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to