[ 
https://issues.apache.org/jira/browse/DAFFODIL-1844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dave Thompson closed DAFFODIL-1844.
-----------------------------------

Verified the latest updates from the incubator-daffodil repository included the 
specified commit, 15ebb3770a13b730d81b14ffc94a06fa4d1205ad.

Execute parse command for xml, scala-xml, jdom and w3cdom infoset formats 
creating an xml file for each. The generated xml, jdom and w3cdom infoset files 
each included the specified line of xml.

The generated scala-xml infoset file did not include the specified line. Per 
Steve L. this was expected.

> XMLTextInfosetOutputter should output an XML declaration
> --------------------------------------------------------
>
>                 Key: DAFFODIL-1844
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-1844
>             Project: Daffodil
>          Issue Type: Bug
>            Reporter: Steve Lawrence
>            Assignee: Dave Thompson
>            Priority: Major
>             Fix For: 2.1.0
>
>
> According to [https://www.w3.org/TR/REC-xml/#sec-prolog-dtd], XML documents 
> SHOULD begin with an XML declaration (e.g. <?xml version="1.0" 
> encoding="UTF-8" ?>. Although this isn't mandatory, some things may not 
> recognized the output as an XML document. For example, the 'file' command 
> says the data is HTML. This isn't a big deal, but is technically more correct.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to