michael-o commented on PR #242:
URL:
https://github.com/apache/maven-invoker-plugin/pull/242#issuecomment-2118979631
Counterpart with Plexus:
```
MXSerializer sr = new MXSerializer();
sr.setOutput(System.out, "UTF-8");
sr.startDocument(null, Boolean.TRUE);
sr.startTag(null, "root");
for (int i = 0; i < Byte.MAX_VALUE; i++) {
sr.startTag(null, "char");
sr.text(Character.getName(i) + ": " + ((char) i));
sr.endTag(null, "char");
}
sr.endTag(null, "root");
sr.endDocument();
```
output:
```
Exception in thread "main" java.lang.IllegalStateException: character 0 is
not allowed in output
at
org.codehaus.plexus.util.xml.pull.MXSerializer.writeElementContent(MXSerializer.java:947)
at
org.codehaus.plexus.util.xml.pull.MXSerializer.text(MXSerializer.java:780)
at
org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.main(DefaultSiteRenderer.java:955)
```
--
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]