commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r418831 - /jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/StringEscapeUtils.java
Date Mon, 03 Jul 2006 19:11:02 GMT
Author: bayard
Date: Mon Jul  3 12:11:02 2006
New Revision: 418831

URL: http://svn.apache.org/viewvc?rev=418831&view=rev
Log:
Added note in javadoc of issue reported in LANG-66

Modified:
    jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/StringEscapeUtils.java

Modified: jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/StringEscapeUtils.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/StringEscapeUtils.java?rev=418831&r1=418830&r2=418831&view=diff
==============================================================================
--- jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/StringEscapeUtils.java
(original)
+++ jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/StringEscapeUtils.java
Mon Jul  3 12:11:02 2006
@@ -566,6 +566,9 @@
      * <p>Supports only the five basic XML entities (gt, lt, quot, amp, apos).
      * Does not support DTDs or external entities.</p>
      *
+     * <p>Note that unicode characters greater than 0x7f are currently escaped to 
+     *    their numerical \u equivalent. This may change in future releases. </p>
+     *
      * @param writer  the writer receiving the unescaped string, not null
      * @param str  the <code>String</code> to escape, may be null
      * @return a new escaped <code>String</code>, <code>null</code>
if null string input
@@ -592,6 +595,9 @@
      * <p>Supports only the five basic XML entities (gt, lt, quot, amp, apos).
      * Does not support DTDs or external entities.</p>
      *
+     * <p>Note that unicode characters greater than 0x7f are currently escaped to 
+     *    their numerical \u equivalent. This may change in future releases. </p>
+     *
      * @param str  the <code>String</code> to escape, may be null
      * @return a new escaped <code>String</code>, <code>null</code>
if null string input
      * @see #unescapeXml(java.lang.String)
@@ -612,6 +618,9 @@
      * <p>Supports only the five basic XML entities (gt, lt, quot, amp, apos).
      * Does not support DTDs or external entities.</p>
      *
+     * <p>Note that numerical \u unicode codes are unescaped to their respective 
+     *    unicode characters. This may change in future releases. </p>
+     *
      * @param writer  the writer receiving the unescaped string, not null
      * @param str  the <code>String</code> to unescape, may be null
      * @return a new unescaped <code>String</code>, <code>null</code>
if null string input
@@ -635,6 +644,9 @@
      *
      * <p>Supports only the five basic XML entities (gt, lt, quot, amp, apos).
      * Does not support DTDs or external entities.</p>
+     *
+     * <p>Note that numerical \u unicode codes are unescaped to their respective 
+     *    unicode characters. This may change in future releases. </p>
      *
      * @param str  the <code>String</code> to unescape, may be null
      * @return a new unescaped <code>String</code>, <code>null</code>
if null string input



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message