Re: [LANG] Clarification of method behavior in StringEscapeUtils

2014-02-03 Thread Adam Hooper
On Mon, Feb 3, 2014 at 12:32 PM, Benedikt Ritter wrote: > What do we do with escapeHtml3 and escapeHtml4? Do we leave them unchanged? HTML4 allows all of Unicode[1]. HTML3 doesn't specify anything. Sounds like both are fine. Enjoy life, Adam [1] http://www.w3.org/TR/html4/charset.html#doc-char

Re: [LANG] Clarification of method behavior in StringEscapeUtils

2014-02-03 Thread Benedikt Ritter
2014-02-03 Adam Hooper : > On Sun, Feb 2, 2014 at 2:00 PM, Benedikt Ritter > wrote: > > > > 2014-02-01 Gary Gregory : > > > >> On Sat, Feb 1, 2014 at 9:12 AM, Benedikt Ritter > >> wrote: > >> > >> > > >> > These methods only escape the basic xml/html entities, though they may > >> > produce inva

Re: [LANG] Clarification of method behavior in StringEscapeUtils

2014-02-03 Thread Adam Hooper
On Sun, Feb 2, 2014 at 2:00 PM, Benedikt Ritter wrote: > > 2014-02-01 Gary Gregory : > >> On Sat, Feb 1, 2014 at 9:12 AM, Benedikt Ritter >> wrote: >> >> > >> > These methods only escape the basic xml/html entities, though they may >> > produce invalid XML/HTML. LANG-955 [1] proposes to add new m

Re: [LANG] Clarification of method behavior in StringEscapeUtils

2014-02-02 Thread Benedikt Ritter
Hello Gary, 2014-02-01 Gary Gregory : > On Sat, Feb 1, 2014 at 9:12 AM, Benedikt Ritter > wrote: > > > Hi, > > > > right now we have the following methods in StringEscapeUtils: > > > > escapeXml(String > > escapeHtml3(String) > > escapeHtml4(String) > > > > These methods only escape the basic x

Re: [LANG] Clarification of method behavior in StringEscapeUtils

2014-02-01 Thread Gary Gregory
On Sat, Feb 1, 2014 at 9:12 AM, Benedikt Ritter wrote: > Hi, > > right now we have the following methods in StringEscapeUtils: > > escapeXml(String > escapeHtml3(String) > escapeHtml4(String) > > These methods only escape the basic xml/html entities, though they may > produce invalid XML/HTML. LA

[LANG] Clarification of method behavior in StringEscapeUtils

2014-02-01 Thread Benedikt Ritter
Hi, right now we have the following methods in StringEscapeUtils: escapeXml(String escapeHtml3(String) escapeHtml4(String) These methods only escape the basic xml/html entities, though they may produce invalid XML/HTML. LANG-955 [1] proposes to add new methods that only produce valid XML, they s