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

Improve XSModel interface to expose value and IDC information

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.10.0
    • 2.11.0
    • XML Schema API
    • None

    Description

      Enumeration and fixed/default values are exposed from simple types and element/attribute declarations. Element/attribute values are also available in PSVI. But the way they are exposed is not very clear, and information about the member type used for list of union types is not available.

      We need to introduce a new interface that represents a "value", which has all the information about the value. Then this new "value" can be returned from simple types, declarations, and PSVI.

      We also need to expose Identity Constraint definitions from XSModel and XSNamespaceItem, because they are, in a sense, global. This at least makes it easier for SCD implementation.

      Attachments

        Activity

          People

            sandygao@ca.ibm.com Sandy Gao
            sandygao@ca.ibm.com Sandy Gao
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: