[ 
https://issues.apache.org/jira/browse/XERCESJ-1502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mukul Gandhi updated XERCESJ-1502:
----------------------------------

    Description: 
I thought it's good to create a JIRA issue for these changes for tracking 
purpose.

1. Changed internal code design significantly for Schema 1.1 assertions 
processing (mainly in validator and evaluation layers. traverser implementation 
is mostly untouched since 2.11.0 release), involving quite a bit of 
re-factoring to improve understandability and maintainability of code base.

2. Improvements to assertion failure messages. Now assertion facet failure 
messages are similar to other facet failure messages. Earlier it was not 
apparent in error messages, that a facet failure with xs:assertion *was from a 
facet*.

3. Improved processing logic for assertion evaluations for simpleType's with 
variety union. Improvements to updation of memberType PSVI result when 
assertions are involved for simpleType with variety union.

4. Providing an improved PsychoPath XPath 2.0 JAR file.

5. It's now (change done post 2.11.0 release) a static error to have xs:assert 
XPath expressions to begin with / or // (since assert XDM trees are rooted at a 
parentless element). for e.g /x, //x or a[/x] etc are incorrect assert XPath 
expressions and would result in a static error. This change requires the new 
PsychoPath XPath 2.0 JAR.

  was:
I thought it's good to create a JIRA issue for these changes for tracking 
purpose.

1. Changed internal code design significantly for Schema 1.1 assertions 
processing (mainly in validator and evaluation layers. traverser implementation 
is mostly untouched since 2.11.0 release), involving quite a bit of 
re-factoring to improve understandability and maintainability of code base.

2. Improvements to assertion failure messages. Now assertion facet failure 
messages are similar to other facet failure messages. Earlier it was not 
apparent in error messages, that a facet failure with xs:assertion *was from a 
facet*.

3. Improved processing logic for assertion evaluations for simpleType's with 
variety union. Improvements to updation of memberType PSVI result when 
assertions are involved for simpleType with variety union.

4. Providing an improved PsychoPath XPath 2.0 JAR file.


> Improvements to Schema 1.1 assertions processing
> ------------------------------------------------
>
>                 Key: XERCESJ-1502
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1502
>             Project: Xerces2-J
>          Issue Type: Improvement
>          Components: XML Schema 1.1 Datatypes, 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 
> purpose.
> 1. Changed internal code design significantly for Schema 1.1 assertions 
> processing (mainly in validator and evaluation layers. traverser 
> implementation is mostly untouched since 2.11.0 release), involving quite a 
> bit of re-factoring to improve understandability and maintainability of code 
> base.
> 2. Improvements to assertion failure messages. Now assertion facet failure 
> messages are similar to other facet failure messages. Earlier it was not 
> apparent in error messages, that a facet failure with xs:assertion *was from 
> a facet*.
> 3. Improved processing logic for assertion evaluations for simpleType's with 
> variety union. Improvements to updation of memberType PSVI result when 
> assertions are involved for simpleType with variety union.
> 4. Providing an improved PsychoPath XPath 2.0 JAR file.
> 5. It's now (change done post 2.11.0 release) a static error to have 
> xs:assert XPath expressions to begin with / or // (since assert XDM trees are 
> rooted at a parentless element). for e.g /x, //x or a[/x] etc are incorrect 
> assert XPath expressions and would result in a static error. This change 
> requires the new PsychoPath XPath 2.0 JAR.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: j-dev-h...@xerces.apache.org

Reply via email to