[
https://issues.apache.org/jira/browse/XERCESJ-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mukul Gandhi updated XERCESJ-1541:
----------------------------------
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.
was:
I thought it's good to create this JIRA issue for tracking purposes.
Following is a summary of significant enhancements we've done to XSD 1.1 CTA
implementation within Xerces, post 2.11.0 release.
- added in-scope namespaces to XDM tree for type alternatives (for full XPath
mode evaluation). this makes possible namespace aware operations on CTA XDM
nodes (e.g fn:resolve-QName etc).
- enhanced static type checking of CTA XPath expressions. essentially to raise
certain errors during static analysis phase for XPath expressions (after
parsing and before evaluation), for e.g to detect if the schema type used in
XPath expression is not present in in-scope schema types in XPath static
context, or if the namespace prefix used in XPath expressions is declared.
- the XDM tree of CTA now carry the document URI of the parent document.
- we now set base-uri property in CTA's XPath static context.
- we now correctly set type annotations on CTA XDM nodes, namely xs:untyped on
the root element node, and xs:untypedAtomic on it's possible attributes.
Other than these, we've made improvements to quite a few XPath 2.0 F&O
implementations within PsychoPath XPath engine, which will benefit both CTA and
assertions.
> enhancements to CTA implementation
> ----------------------------------
>
> Key: XERCESJ-1541
> URL: https://issues.apache.org/jira/browse/XERCESJ-1541
> Project: Xerces2-J
> Issue Type: Improvement
> Components: XML Schema 1.1 Structures
> Affects Versions: 2.11.0
> Reporter: Mukul Gandhi
> Assignee: Mukul Gandhi
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]