[
https://issues.apache.org/jira/browse/DAFFODIL-2586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mike McGann reassigned DAFFODIL-2586:
-------------------------------------
Assignee: Mike McGann
> Schema compilation hangs if incorrectly closed attribute
> --------------------------------------------------------
>
> Key: DAFFODIL-2586
> URL: https://issues.apache.org/jira/browse/DAFFODIL-2586
> Project: Daffodil
> Issue Type: Bug
> Components: Front End
> Affects Versions: 3.2.0
> Reporter: Steve Lawrence
> Assignee: Mike McGann
> Priority: Major
> Labels: beginner
> Fix For: 3.5.0
>
>
> Notice below the missing quote with the last attribute of the dfdl:format
> element. When I parse a DFDL schema containing this dfdl:format element,
> Daffodil hangs forever.
> {code:xml}
> <xs:annotation>
> <xs:appinfo source="http://www.ogf.org/dfdl/">
> <dfdl:format
> textBidi="no"
> separatorSuppressionPolicy="trailingEmpty"
> floating="no"
> encodingErrorPolicy="replace"
> outputNewLine="%CR;%LF;"
> leadingSkip="0"
> trailingSkip="0"
> alignment="1"
> alignmentUnits="bytes"
> textPadKind="none"
> textTrimKind="none"
> truncateSpecifiedLengthString="no"
> escapeSchemeRef=""
> representation="binary"
> encoding="ASCII"
> separator = ""
> initiator = ""
> terminator = ""
> ignoreCase = "yes"
> sequenceKind="ordered"
> initiatedContent="no"
> fillByte="%SP;"
> lengthKind="implicit"
> byteOrder="littleEndian
> />
> </xs:appinfo>
> </xs:annotation>
> {code}
> Debugging a little bit, it looks like reportSyntaxError is getting called
> repeatedly with the same error message:
> {quote}
> '<' not allowed in attrib value
> {quote}
> Might be a bug in scala-xml, or might be a bug in our implementation of
> DaffodilConstructingLoader.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)