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

Support XSTypeDefinition as a value of the "root-type-definition" property.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.9.1
    • 2.10.0
    • None

    Description

      In Xerces 2.8.0 we introduced a property called "http://apache.org/xml/properties/validation/schema/root-type-definition" which allows a user to specify the type definition to use for validating the validation root (not necessarily the root element of the document). Given that we defined the value to be a QName it's currently only possible to idenitfy global type defnitions. If the user has acquired an XSTypeDefinition from the XSModel we should also allow this to be set as the value of the property. This makes it possible to select an anonymous type definition for validating the root.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: