You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Mike Beckerle (Jira)" <ji...@apache.org> on 2021/06/01 18:18:00 UTC

[jira] [Resolved] (DAFFODIL-2527) DaffodilXMLLoader requires XML prolog. Should tolerate not having one

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

Mike Beckerle resolved DAFFODIL-2527.
-------------------------------------
    Resolution: Fixed

Fixed in cf8437e22432bc31d61ebdaafbd39c237d800afa

> DaffodilXMLLoader requires XML prolog. Should tolerate not having one
> ---------------------------------------------------------------------
>
>                 Key: DAFFODIL-2527
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2527
>             Project: Daffodil
>          Issue Type: Bug
>          Components: TDML Runner
>    Affects Versions: 3.2.0
>            Reporter: Mike Beckerle
>            Assignee: Mike Beckerle
>            Priority: Major
>
> A recent change to disallow doctypes caused a regression.
> The TDML runner used to load XML Infoset files using Xerces, but now it uses the ConstructingParser like all other loading.
> The constructing parser is, unfortunately, intolerant of XML files that do not begin with "<" character either for an XML Prolog, or a document element.
> The behavior needs to change to allow presence or absence of an XML prolog, whitespace or comments before the document element begins.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)