Uploaded image for project: 'Xerces2-J'
  1. Xerces2-J
  2. XERCESJ-1687

XSD 1.1 validation with xs:assert is not thread safe

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Later
    • None
    • None
    • None
    • java 8 / java 9

    Description

      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

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            ncubede Stephan Trebels
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment