Return-Path: X-Original-To: apmail-xerces-j-dev-archive@www.apache.org Delivered-To: apmail-xerces-j-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CB9FE4E64 for ; Sun, 29 May 2011 10:00:29 +0000 (UTC) Received: (qmail 51860 invoked by uid 500); 29 May 2011 10:00:29 -0000 Delivered-To: apmail-xerces-j-dev-archive@xerces.apache.org Received: (qmail 51820 invoked by uid 500); 29 May 2011 10:00:28 -0000 Mailing-List: contact j-dev-help@xerces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: j-dev@xerces.apache.org Delivered-To: mailing list j-dev@xerces.apache.org Received: (qmail 51807 invoked by uid 99); 29 May 2011 10:00:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 May 2011 10:00:28 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 May 2011 10:00:27 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 79A59E6A6E for ; Sun, 29 May 2011 09:59:47 +0000 (UTC) Date: Sun, 29 May 2011 09:59:47 +0000 (UTC) From: "Mukul Gandhi (JIRA)" To: j-dev@xerces.apache.org Message-ID: <1370799063.51750.1306663187495.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <395259766.32047.1301908265772.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Issue Comment Edited] (XERCESJ-1502) Improvements to Schema 1.1 assertions processing MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/XERCESJ-1502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13015323#comment-13015323 ] Mukul Gandhi edited comment on XERCESJ-1502 at 5/29/11 9:59 AM: ---------------------------------------------------------------- marking this issue as fixed, since the changes mentioned in the bug report are committed to SVN. was (Author: mukul_gandhi): marking this issue as fixed, since the changes mentioned in the bug report are implemented in SVN. > 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. > 6. If xs:any wildcard has processContents="skip", then that part of XML content tree should be available to relevant assertions. This improvement is done post 2.11.0 release. > 7. Implemented [failed assertions] PSVI property for "element information items". -- 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-unsubscribe@xerces.apache.org For additional commands, e-mail: j-dev-help@xerces.apache.org