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 "Michael Glavassevich (JIRA)" <xe...@xml.apache.org> on 2005/08/11 04:45:37 UTC

[jira] Updated: (XERCESJ-1079) invalid value returned for TOTALDIGITS facet in case of simple types derived from decimal

     [ http://issues.apache.org/jira/browse/XERCESJ-1079?page=all ]

Michael Glavassevich updated XERCESJ-1079:
------------------------------------------

      Component: XML Schema API
                     (was: XML Schema datatypes)
    Description: 
The method getLexicalFacet(short) in class XSSimpleTypeDecl returns a invalid value for the TOTALDIGITS facet in case of simple types derived from decimal.

I gues there are some few lines missplaced 

How to reproduce: Each simple type derived from decimal reproduces this problem.

There is a test for TOTALDIGTS facet, if fValidationDV == DV_INTEGER, but as far as I see, this test should be in the case of FACET_FRACTIONDIGITS. Moving this test was fine in all my cases.



  was:
The method getLexicalFacet(short) in class XSSimpleTypeDecl returns a invalid value for the TOTALDIGITS facet in case of simple types derived from decimal.

I gues there are some few lines missplaced 

How to reproduce: Each simple type derived from decimal reproduces this problem.

There is a test for TOTALDIGTS facet, if fValidationDV == DV_INTEGER, but as far as I see, this test should be in the case of FACET_FRACTIONDIGITS. Moving this test was fine in all my cases.




> invalid value returned for TOTALDIGITS facet in case of simple types derived from decimal
> -----------------------------------------------------------------------------------------
>
>          Key: XERCESJ-1079
>          URL: http://issues.apache.org/jira/browse/XERCESJ-1079
>      Project: Xerces2-J
>         Type: Bug
>   Components: XML Schema API
>     Versions: 2.6.2
>  Environment: Xerces2-J CVS HEAD (Mai 12, 2005)
>     Reporter: Kurt Riede
>  Attachments: patch.txt
>
> The method getLexicalFacet(short) in class XSSimpleTypeDecl returns a invalid value for the TOTALDIGITS facet in case of simple types derived from decimal.
> I gues there are some few lines missplaced 
> How to reproduce: Each simple type derived from decimal reproduces this problem.
> There is a test for TOTALDIGTS facet, if fValidationDV == DV_INTEGER, but as far as I see, this test should be in the case of FACET_FRACTIONDIGITS. Moving this test was fine in all my cases.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org