RFR: 8290274: DRT 27 tests fail due to xml not well formed error on window
    Jay Bhaskar 
    jbhaskar at openjdk.org
       
    Thu Aug 11 11:41:36 UTC 2022
    
    
  
On Wed, 10 Aug 2022 10:06:21 GMT, Jay Bhaskar <jbhaskar at openjdk.org> 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
    
    
More information about the openjfx-dev
mailing list