Uploaded image for project: 'Xerces2-J'
  1. Xerces2-J
  2. XERCESJ-1079

invalid value returned for TOTALDIGITS facet in case of simple types derived from decimal

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.2
    • 2.9.1
    • XML Schema API
    • None
    • Xerces2-J CVS HEAD (Mai 12, 2005)

    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.

      Attachments

        1. patch.txt
          0.4 kB
          Kurt Riede

        Activity

          People

            mrglavas@ca.ibm.com Michael Glavassevich
            kriede Kurt Riede
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: