elharo commented on issue #1381:
URL: https://github.com/apache/maven-release/issues/1381#issuecomment-3492657905

   Assuming by "xml PI" you mean the XML declaration, there are no such 
documents. The XML 1.0 grammar does not allow comments to appear before the XML 
declaration. Any document that has one there is not well-formed and should be 
immediately rejected by the parser. 
   
   This is exactly the sort of picky detail that "better" XML libraries usually 
get wrong, and why I'm nervous about adopting a new one. XML is designed to be 
simple to write, and perhaps simple to process compared to SGML, but it's not 
really simple to parse or model.
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to