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

Deferred DOM: TypeInfo incorrect when an element's type is a union.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.9.0
    • 2.9.1
    • DOM (Level 3 Core)
    • None

    Description

      When the type of an element is a union, the [member type definition] will not be available until the end of the element (the exception being if the element is empty). The DOMParser is currently setting the TypeInfo [1] in startElement. To get the member type it needs to be set in endElement.

      [1] http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#TypeInfo

      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: