You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2003/01/07 16:46:24 UTC
DO NOT REPLY [Bug 15842] New: -
incorrect/no canonicalization for fixed 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=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: xerces-j-dev@xml.apache.org
ReportedBy: kk@kohsuke.org
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: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org