commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Dunning" <ted.dunn...@gmail.com>
Subject Re: isEscaped
Date Wed, 03 Sep 2008 19:02:39 GMT
On Wed, Sep 3, 2008 at 11:33 AM, Garrett Smith <dhtmlkitchen@gmail.com>wrote:

> This example:
>
> >> assertTrue( StringEscapeUtils.isHtmlEscaped("&lt;b&gt;text&lt;/b&gt;")
> );
> >
>  - is flawed.
>
> The flaw is searching for unescaped entities, not searching for no
> unescaped entities.
> ...


You make some good points.

But the real flaw is that we are all talking without knowing what the goal
really is.


> So, I think that Tim is probably getting at the problem better by
> asking: "What is the end goal?".


Exactly!


> And the OP has been silent.


The OP should be an inspiration to us all.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message