On Wed, 10 Aug 2022 10:06:21 GMT, Jay Bhaskar <[email protected]> wrote:

> Issue: xml not well-formed error occurs at XML document parser.
> Issue: doEnd() call not needed for JAVA platform, as it is making 
> XMLDocumentParserLibxml2 xml not well-formed error.

According to comments mention in the source code:
void XMLDocumentParser::end()
{
    // XMLDocumentParserLibxml2 will do bad things to the document if doEnd() 
is called.
    // I don't believe XMLDocumentParserQt needs doEnd called in the fragment 
case.
 
The doEnd() call not needed for JAVA Platform also, as it is affecting libxml2 
parser to generate xml not well formed error.

I have tested it , it fixes 27 test cases with no side effects for other drt 
tests.

-------------

PR: https://git.openjdk.org/jfx/pull/866

Reply via email to