Return-Path: Delivered-To: apmail-abdera-user-archive@www.apache.org Received: (qmail 20002 invoked from network); 7 Apr 2010 19:21:08 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Apr 2010 19:21:08 -0000 Received: (qmail 29230 invoked by uid 500); 7 Apr 2010 19:21:08 -0000 Delivered-To: apmail-abdera-user-archive@abdera.apache.org Received: (qmail 29212 invoked by uid 500); 7 Apr 2010 19:21:08 -0000 Mailing-List: contact user-help@abdera.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@abdera.apache.org Delivered-To: mailing list user@abdera.apache.org Received: (qmail 29204 invoked by uid 99); 7 Apr 2010 19:21:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Apr 2010 19:21:08 +0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=AWL,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ngarthl@gmail.com designates 209.85.220.209 as permitted sender) Received: from [209.85.220.209] (HELO mail-fx0-f209.google.com) (209.85.220.209) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Apr 2010 19:21:02 +0000 Received: by fxm1 with SMTP id 1so1187144fxm.15 for ; Wed, 07 Apr 2010 12:20:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:content-type; bh=qsB6cVS7Gmii4ANIHQKiYg5hCuc+57XGCcChmfRoxSE=; b=uDO77m2Wjy95kMnS2TcweTyMl1nqw9Rr388kxs9u8dxLMqvIQK2sfRZxThSvoODreQ ne+fEbE9ejmHdavLYe5Y+aB5h1NNclmoECMY0uWWFJo5ePCUFYcOdGG8CucttWewERF9 Bt5Ij0d1lLSKgOokjljVd8+G8Kt8aUBbv+q/M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=vOTzrAf8dTheToswR2MdPdzrI1p5GexbqMBYb2PXCMWRZKqC9WwSpaxuuEUp1Twqaa aRPvfSXOi2fTsFIpLfLBOPWLkhwsFMj2R8T5G8Kg406vHFeCS9ZZ/5nsxUs5UDu2BLfw mz/JmGefShEt/tKyZ118AqvxCXcpnkCfcAlSg= MIME-Version: 1.0 Received: by 10.223.105.204 with HTTP; Wed, 7 Apr 2010 12:20:39 -0700 (PDT) In-Reply-To: References: Date: Wed, 7 Apr 2010 21:20:39 +0200 Received: by 10.223.1.139 with SMTP id 11mr9740692faf.4.1270668040899; Wed, 07 Apr 2010 12:20:40 -0700 (PDT) Message-ID: Subject: Re: escaping XML From: Erlend Hamnaberg To: user@abdera.apache.org Content-Type: multipart/alternative; boundary=001517475c8a348dc80483aa7510 --001517475c8a348dc80483aa7510 Content-Type: text/plain; charset=ISO-8859-1 That is true, but most other XML libraries out there escape > as well, so for consistency it would be good. -- Erlend On Wed, Apr 7, 2010 at 9:16 PM, Andreas Veithen wrote: > Because it's not necessary. > > Andreas > > On Wed, Apr 7, 2010 at 21:08, Erlend Hamnaberg wrote: > > Hey list. > > > > I am wondering why Abdera isn't escaping all xml entities in text values. > > > > example: > > > > Entry entry = factory.newEntry(); > > entry.setTitle("something was < & > but this was cool."); > > > > if i then call: > > > > String title = entry.getTitle(); > > > > This yields: "something was < & > but this was cool."); > > > > Why isn't the > escaped to > ? > > > > > > -- Erlend > > > --001517475c8a348dc80483aa7510--