RFR (JDK10/jaxp) 8183583: LSSerializer docs have invalid character

Joe Wang huizhe.wang at oracle.com
Wed Jul 5 21:11:32 UTC 2017

A quick fix as Jon suggested: replacing \u00f1 with ñ

--- a/src/java.xml/share/classes/org/w3c/dom/ls/LSSerializer.java
+++ b/src/java.xml/share/classes/org/w3c/dom/ls/LSSerializer.java
@@ -136,7 +136,7 @@
   * <p> Within markup, but outside of attributes, any occurrence of a 
   * that cannot be represented in the output character encoding is reported
   * as a <code>DOMError</code> fatal error. An example would be serializing
- * the element <LaCa\u00f1ada/> with 
+ * the element <LaCañada/> with 
   * This will result with a generation of a <code>DOMError</code>
   * "wf-invalid-character-in-node-name" (as proposed in "<a 
   * well-formed</a>").


More information about the core-libs-dev mailing list