michael-o commented on PR #242:
URL:
https://github.com/apache/maven-invoker-plugin/pull/242#issuecomment-2118995261
And the value is indeed correct:
```java
Document doc2 =
DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(new
ByteArrayInputStream(w.toString().getBytes(StandardCharsets.UTF_8)));
NodeList childNodes = doc2.getDocumentElement().getChildNodes();
for (int i = 0; i < childNodes.getLength(); i++) {
System.out.println(childNodes.item(i).getTextContent());
}
```
output:
[Fatal Error] :3:19: Zeichenreferenz "&#
```
Exception in thread "main" org.xml.sax.SAXParseException; lineNumber: 3;
columnNumber: 19; Zeichenreferenz "&#
at
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
at
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:338)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:121)
at
org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.main(DefaultSiteRenderer.java:954)
```
While I don't understand that those values are serialized, but cannot be
deserialized the best would be to drop the serialization of them silently in
Plexus XML.
--
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]