Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DFDL-377

Incorrect Behavior when an escapeEscapeCharacter is not followed by an escapeCharacter

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • s6
    • None
    • Back End
    • None

      According to the spec, with an escapeCharacter of "/" and an escapeEscapeCharacter of "%" when parsing "..%%/..", the result should be "..%/..", where the "/" is escaped by the second "%", thus removing the second "%", and the first "%" should not be removed because it is not followed directly by "/".

      or more generally stated: On parsing, the dfdl:escapeEscapeCharacter is removed from the data unless the dfdl:escapeEscapeCharacter does not precede the dfdl:escapeCharacter.

      However, the actual result is "../..", where both escapeEscapeCharacters are removed.

              jchab Jessie Chab
              jchab Jessie Chab
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: