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 C3E5596F6 for ; Tue, 27 Sep 2011 15:25:33 +0000 (UTC) Received: (qmail 36570 invoked by uid 500); 27 Sep 2011 15:25:33 -0000 Delivered-To: apmail-xerces-j-dev-archive@xerces.apache.org Received: (qmail 36538 invoked by uid 500); 27 Sep 2011 15:25:33 -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 36531 invoked by uid 99); 27 Sep 2011 15:25:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Sep 2011 15:25:33 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,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; Tue, 27 Sep 2011 15:25:32 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id DA9D828C422 for ; Tue, 27 Sep 2011 15:25:11 +0000 (UTC) Date: Tue, 27 Sep 2011 15:25:11 +0000 (UTC) From: "Mukul Gandhi (Commented) (JIRA)" To: j-dev@xerces.apache.org Message-ID: <15022879.3390.1317137111897.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <857165119.3275.1317135011700.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (XERCESJ-1538) Multithread validation failed in Xerces2 with XML Schema 1.1 support when assert instruction in XSD 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-1538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13115570#comment-13115570 ] Mukul Gandhi commented on XERCESJ-1538: --------------------------------------- would be nice if you can state in prose the intent of your schema, and also post a sample XML that you want to validate with the schema you've posted. I think we must also test the validation with the code base in SVN, where the bug may have probably been solved. > Multithread validation failed in Xerces2 with XML Schema 1.1 support when assert instruction in XSD > --------------------------------------------------------------------------------------------------- > > Key: XERCESJ-1538 > URL: https://issues.apache.org/jira/browse/XERCESJ-1538 > Project: Xerces2-J > Issue Type: Bug > Components: JAXP (javax.xml.validation) > Affects Versions: 2.11.0 > Environment: Windows 7 x64, Java 6 Update 26 x64 > Reporter: Denis Orekhov > > I'm using Xerces2 Java 2.11.0 (XML Schema 1.1) (Beta) in my app. Schema validation in my app can occurs simultaneously in separate threads. > This is part of my xsd: > > > > > > > > > > > > > > minOccurs="0"> > > > > > > > type="xs:boolean" /> > > > > > > > > > > > > > > > > > use="required" /> > > > > > > > test="(count(datapanel) + count(server) =0) or (count(*[position()=1 and name()='main_context']) = 1)" /> > > > And sometimes I have SAXException with text "cvc-assertion.3.13.4.1: Assertion evaluation ('(count(datapanel) + count(server) =0) or (count(*[position()=1 and name()='main_context']) = 1)') for element 'action' with type '#anonymous' did not succeed.". > I checked my data and schema text before validation error - both is good. -- 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: j-dev-unsubscribe@xerces.apache.org For additional commands, e-mail: j-dev-help@xerces.apache.org