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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to