Steve Lawrence created DAFFODIL-1955:
----------------------------------------
Summary: Missing closing dfdl:format tag causes FataError exception
Key: DAFFODIL-1955
URL: https://issues.apache.org/jira/browse/DAFFODIL-1955
Project: Daffodil
Issue Type: Bug
Components: Front End
Affects Versions: 2.1.0
Reporter: Steve Lawrence
Fix For: 2.2.0
A user reported the attached schema that does not properly close the
dfdl:format tag causes the following exception:
{code}
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)
{code}
This error needs to be handled and turned into a SDE.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)