Thanks Lance!

On 7/5/17, 2:13 PM, Lance Andersen wrote:
looks fine Joe
On Jul 5, 2017, at 5:11 PM, Joe Wang <huizhe.w...@oracle.com <mailto:huizhe.w...@oracle.com>> wrote:

A quick fix as Jon suggested: replacing \u00f1 with &ntilde;

--- 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 character * 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 &lt;LaCa\u00f1ada/&gt; with <code>encoding="us-ascii"</code>. + * the element &lt;LaCa&ntilde;ada/&gt; with <code>encoding="us-ascii"</code>.
 * This will result with a generation of a <code>DOMError</code>
* "wf-invalid-character-in-node-name" (as proposed in "<a href='http://www.w3.org/TR/DOM-Level-3-Core/core.html#parameter-well-formed' <http://www.w3.org/TR/DOM-Level-3-Core/core.html#parameter-well-formed%27>>
 * well-formed</a>").

Thanks,
Joe

<http://oracle.com/us/design/oracle-email-sig-198324.gif>
<http://oracle.com/us/design/oracle-email-sig-198324.gif><http://oracle.com/us/design/oracle-email-sig-198324.gif>
<http://oracle.com/us/design/oracle-email-sig-198324.gif>Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
Oracle Java Engineering
1 Network Drive
Burlington, MA 01803
lance.ander...@oracle.com <mailto:lance.ander...@oracle.com>



Reply via email to