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

enhancements to CTA implementation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.11.0
    • 2.12.0
    • None

    Description

      I thought it's good to create a JIRA issue for these changes for tracking purposes. We made following enhancements to the XSD 1.1 CTA implementation post 2.11.0 release.

      1. The in-scope namespaces are now visible within XDM trees for CTA, when working in full XPath 2.0 mode. This makes possible namespace aware operations on CTA XDM nodes (e.g fn:resolve-QName etc).

      2. There's now an enhanced static type checking of CTA XPath expressions. This is essentially to raise certain errors during static analysis phase for XPath evaluations (for e.g to detect if the schema type used in XPath expression is present in in-scope schema types, or if the namespace prefix used in XPath expressions is declared).

      3. The XDM tree of CTA now carry the document URI of the parent document.

      4. We now set base-uri property in CTA's XPath static context.

      5. We now correctly set type annotations on CTA XDM nodes, namely the type xs:untyped on the CTA root node (which would be an element node), and xs:untypedAtomic on it's possible attributes.

      6. Providing an improved PsychoPath XPath 2.0 JAR file. This includes quite a few improvements to couple of XPath 2.0 F&O function implementations, and few other enhancements. This provides benefits for CTA (when working in full XPath 2.0 mode) and <assert> processing.

      7. CTA fixes mentioned in JIRA issues XERCESJ-1533, XERCESJ-1508, XERCESJ-1503.

      Attachments

        Activity

          People

            mukul_gandhi Mukul Gandhi
            mukul_gandhi Mukul Gandhi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: