Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 99109 invoked from network); 3 Sep 2008 19:03:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Sep 2008 19:03:24 -0000 Received: (qmail 97512 invoked by uid 500); 3 Sep 2008 19:03:19 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 97436 invoked by uid 500); 3 Sep 2008 19:03:18 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 97425 invoked by uid 99); 3 Sep 2008 19:03:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Sep 2008 12:03:18 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ted.dunning@gmail.com designates 74.125.46.153 as permitted sender) Received: from [74.125.46.153] (HELO yw-out-1718.google.com) (74.125.46.153) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Sep 2008 19:02:20 +0000 Received: by yw-out-1718.google.com with SMTP id 9so277722ywk.60 for ; Wed, 03 Sep 2008 12:02:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=NK/s7x4PPwQohnI51+GRc1N6N8r1Jwr3gO5IUM6RX7I=; b=UYdgdBguDKbh2fXsWTBsbsohmM3gXrdOhRh80YVNZynr2tXNYlGoE7hH+J02xWGQNF PvocLq875tLMROlEOUGFzsFUkYhsk16MUwOcWEJbMbk+mJ/q7KFWiVabfjQSes5MCzax uBsKdyO+05MArQ5VBicF0xFeR+YMK9MiiSfoQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=yBPFSIR3cVcenfKPRILr798KDEIL3jPIeVwxXWJQO2YBnaK6bobEvbzlqPRAt8xzYf Kssjp9Xk5wUlHfWJZENBuVemNHExFBqgEi0I3++O1jYTTK3SwkEOUQarE7FThUgUwjH0 E75U/+dIfSUbB0PABpj/nsjgrOSmH0Ap6A3cM= Received: by 10.114.25.19 with SMTP id 19mr7933965way.225.1220468559593; Wed, 03 Sep 2008 12:02:39 -0700 (PDT) Received: by 10.115.55.16 with HTTP; Wed, 3 Sep 2008 12:02:39 -0700 (PDT) Message-ID: Date: Wed, 3 Sep 2008 12:02:39 -0700 From: "Ted Dunning" To: "Commons Users List" Subject: Re: isEscaped In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_14302_2596505.1220468559553" References: <1195336e0809021128s6500f488q5c8b763f8fdc33c5@mail.gmail.com> <55afdc850809030756ke86e93dtdf0d9a37fc259ca4@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_14302_2596505.1220468559553 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Wed, Sep 3, 2008 at 11:33 AM, Garrett Smith wrote: > This example: > > >> assertTrue( StringEscapeUtils.isHtmlEscaped("<b>text</b>") > ); > > > - 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. ------=_Part_14302_2596505.1220468559553--