You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Mukul Gandhi (JIRA)" <xe...@xml.apache.org> on 2017/11/30 07:27:00 UTC

[jira] [Comment Edited] (XERCESJ-1687) XSD 1.1 validation with xs:assert is not thread safe

    [ https://issues.apache.org/jira/browse/XERCESJ-1687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16272269#comment-16272269 ] 

Mukul Gandhi edited comment on XERCESJ-1687 at 11/30/17 7:26 AM:
-----------------------------------------------------------------

Can you please post a test case, that demonstrates that with our XSD 1.1 codebase on SVN branch, the Schema (javax.xml.validation.Schema) object is not thread safe?


was (Author: mukul_gandhi):
Can you please post a test case, that demonstrates that with our XSD 1.1 codebase on trunk, the Schema (javax.xml.validation.Schema) object is not thread safe?

> XSD 1.1 validation with xs:assert is not thread safe
> ----------------------------------------------------
>
>                 Key: XERCESJ-1687
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1687
>             Project: Xerces2-J
>          Issue Type: Bug
>          Components: XML Schema 1.1 Structures
>    Affects Versions: 2.12.0
>         Environment: java 8 / java 9
>            Reporter: Stephan Trebels
>            Priority: Critical
>
> The XSD 1.1 validation code uses eclipse webtools xpath to validate assertions. The PsychoPath XPath 2.0 engine has a bug in ResultSequenceFactory, which invalidates correct execution in all parallel invocation of XSD 1.1 validation. 
> This issue affects completely unrelated schemas and input XML, as long as both use assertions. The effect is a lot of spurious assert violations.  The issue is visible even if only two threads are used in parallel.
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=527812



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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