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=15842>.
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=15842

incorrect/no canonicalization for fixed value?

           Summary: incorrect/no canonicalization for fixed value?
           Product: Xerces2-J
           Version: 2.2.0
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: XML Schema datatypes
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The following schema:

<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema
  xmlns:xsd="http://www.w3.org/2001/XMLSchema";
  xmlns="test"
  targetNamespace="test">

  <xsd:element name="Element" type="Float" fixed="1.0e-2" />    

  <xsd:simpleType name="Float">
      <xsd:restriction base="xsd:float">
          <xsd:pattern value="...E.."/>
      </xsd:restriction>
  </xsd:simpleType>

</xsd:schema>

causes the following schema constraint check error:

e-props-correct.2: Invalid value constraint value '1.0e-2' in element 'Element'.

But according to the schema spec, the specified value constraint should be 
converted to the canonical representation first, which is 1.0E-2.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to