[ 
https://issues.apache.org/jira/browse/XERCESJ-1237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Glavassevich reassigned XERCESJ-1237:
---------------------------------------------

    Assignee: Michael Glavassevich

> Types derived from xs:integer allow fractionDigits to be specified with 
> values other than zero.
> -----------------------------------------------------------------------------------------------
>
>                 Key: XERCESJ-1237
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1237
>             Project: Xerces2-J
>          Issue Type: Bug
>          Components: XML Schema Datatypes
>    Affects Versions: 2.9.0
>            Reporter: Michael Glavassevich
>         Assigned To: Michael Glavassevich
>
> In the derivation of xs:integer from xs:decimal the fractionDigits facet is 
> fixed to 0.  Xerces currently allows types dervied from xs:integer to specify 
> a fractionDigits facet with a value other than zero, for instance:
> <xs:simpleType name="myInteger">
>   <xs:restriction base="xs:integer">
>     <xs:fractionDigits value="20">
>     <xs:annotation>
>      <xs:documentation>invalid</xs:documentation>
>     </xs:annotation>
>    </xs:fractionDigits>
>   </xs:restriction>
>  </xs:simpleType>
> This bug is causing several tests in the W3C XML Schema 1.0 2nd Edition test 
> suite to fail:
> msData/datatypes/Facets/Schemas/integer_fractionDigits004.xsd
> msData/datatypes/Facets/Schemas/integer_fractionDigits007.xsd
> msData/datatypes/Facets/Schemas/nonPositiveInteger_fractionDigits004.xsd
> msData/datatypes/Facets/Schemas/nonPositiveInteger_fractionDigits007.xsd
> msData/datatypes/Facets/Schemas/negativeInteger_fractionDigits004.xsd
> msData/datatypes/Facets/Schemas/negativeInteger_fractionDigits007.xsd
> ...and so on for each built-in type derived from xs:integer...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to