« Return to Thread: [tools] Generating XHTML-compliant Javascript with ValidatorTool

Re: [tools] Generating XHTML-compliant Javascript with ValidatorTool

by Greg Thomas-2 :: Rate this Message:

| View in Thread

On 6 March 2012 14:59, Christopher Schultz <chris@...> wrote:
> It might be nice to (continue to) have CDATA optional. In that case, &&
> would need to be escaped (along with other stuff, of course). I think we
> only need to escape & < and >.

Why not simply use StringEscapeUtils.escapeXml() in commons-lang ?

Greg

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...

 « Return to Thread: [tools] Generating XHTML-compliant Javascript with ValidatorTool