Re: [Lang] escapeXML() -> Not escaping low characters

2006-04-19 Thread David López Muñoz
En Tue, 18 Apr 2006 09:55:27 -0700, Henri Yandell <[EMAIL PROTECTED]> escribió: On 3/31/06, David López Muñoz <[EMAIL PROTECTED]> wrote: Hello, I'm trying to escape some texts to be xml-valid and I'm using StringEscapeUtils.escapeXml(). I found a problem with low characteres such as #18. The

RE: [Lang] escapeXML() -> Not escaping low characters

2006-04-18 Thread Gary Gregory
should deprecate escapeXml and create: escapeXmlElementContent(String) and escapeXmlAttributeContents(String, char) where the char denotes which quote character to escape. Gary > -Original Message----- > From: Henri Yandell [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 18, 2

Re: [Lang] escapeXML() -> Not escaping low characters

2006-04-18 Thread Henri Yandell
On 3/31/06, David López Muñoz <[EMAIL PROTECTED]> wrote: > Hello, > > I'm trying to escape some texts to be xml-valid and I'm using > StringEscapeUtils.escapeXml(). > > I found a problem with low characteres such as #18. They don't seem to be > escaped, and therefore they are mixed together with

[Lang] escapeXML() -> Not escaping low characters

2006-03-31 Thread David López Muñoz
Hello, I'm trying to escape some texts to be xml-valid and I'm using StringEscapeUtils.escapeXml(). I found a problem with low characteres such as #18. They don't seem to be escaped, and therefore they are mixed together with other characteres as if there were normal characteres such as 'a',