Uploaded image for project: 'Xerces-C++'
  1. Xerces-C++
  2. XERCESC-1925

Wrong temporary token type causes regex construction to fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0, 3.0.1, 3.1.0, 3.1.1
    • 3.1.2, 3.2.0
    • Utilities
    • None

    Description

      When checking for token overlap in a regular expression a temporary range token is constructed and merged with another range token. This temporary token has type Token::T_RANGE so the merge fails if the actual token is of type Token::T_NRANGE.

      Attachments

        1. xerces-range-token-merge.patch
          0.5 kB
          John Keeping

        Activity

          People

            scantor Scott Cantor
            jkeeping John Keeping
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: