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

On parse, nilValue of "%WSP*;" not parsing emtpy string as nil.

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2.0.0
    • 1.1.0
    • Back End
    • None

      When parsing, if the nilValue="%WSP*;", and the document is empty, we would expect the resulting parsed element to be nil (for a textual element, nilValueDelimiterPolicy="none", nilKind="literalValue") However, the document is being parsed as a empty string without a nil.

      See test
      text_nil_characterClass_04_parse
      in:
      daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section13/nillable/literal-value-nils.tdml
      daffodil-test/src/test/scala-debug/edu/illinois/ncsa/daffodil/section13/nillable/TestNillableDebug.scala
      daffodil-test/src/test/scala/edu/illinois/ncsa/daffodil/section13/nillable/TestNillable.scala

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

                Created:
                Updated:
                Resolved: