Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-1955

Missing closing dfdl:format tag causes FatalError exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 2.4.0
    • Front End

    Description

      A user reported the attached schema that does not properly close the dfdl:format tag causes the following exception:

      scala.xml.parsing.FatalError: expected closing tag of dfdl:format
      	at scala.xml.parsing.MarkupParser$class.errorNoEnd(MarkupParser.scala:40)
      	at scala.xml.parsing.ConstructingParser.errorNoEnd(ConstructingParser.scala:48)
              ...
      	at scala.xml.parsing.MarkupParser$class.document(MarkupParser.scala:244)
      	at scala.xml.parsing.ConstructingParser.document(ConstructingParser.scala:48)
      	at org.apache.daffodil.xml.DaffodilConstructingLoader.load(DaffodilConstructingLoader.scala:168)
      

      This error needs to be handled and turned into a SDE.

      Attachments

        Issue Links

          Activity

            People

              dfthompson Dave Thompson
              slawrence Steve Lawrence
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: