Xerces Update: Bugs found in impl/xpath/regex/RangeToken.java intersectRanges method

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 9
    • Component/s: xml
    • None

      Regular expression intersection returns incorrect value when first range is longer than second range. Example below.

      new RegularExpression("(?[b-d]&[a-r])"); -> returns [b-d] (Correct)
      new RegularExpression("(?[a-r]&[b-d])"); -> returns [b-de-r] (Incorrect)

            Assignee:
            David Li (Inactive)
            Reporter:
            David Li (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: