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

When escaping block end character during unparse, the next two characters are lost

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2.0.0
    • None
    • Back End, Unparsing
    • None

      For example, say we have the following data in the infoset:

      <foo>This contains a block end &quote; followed by more text</foo>

      And assume that this text is in a block escape with quotes, and a slash escaping the block end character. When unparsed, the above should look like this:

      "This contains a block end \" followed by more text"

      However, we currently get the following:

      "This contains a block end \"ollowed by more text"

      So the two characters immediately following the escaped quote are lost (in this example, the space character and the f).

              jchab Jessie Chab
              slawrence Steve Lawrence
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: