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

Lance Andersen lance.andersen at oracle.com
Wed Jul 5 21:13:17 UTC 2017


looks fine Joe
> On Jul 5, 2017, at 5:11 PM, Joe Wang <huizhe.wang at oracle.com> wrote:
> 
> 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 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 <LaCa\u00f1ada/> with <code>encoding="us-ascii"</code>.
> + * the element <LaCañada/> 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'>
>  * 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.Andersen at oracle.com <mailto:Lance.Andersen at oracle.com>





More information about the core-libs-dev mailing list