abdera-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erlend Hamnaberg <ngar...@gmail.com>
Subject Re: escaping XML
Date Wed, 07 Apr 2010 19:20:39 GMT
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
<andreas.veithen@gmail.com>wrote:

> Because it's not necessary.
>
> Andreas
>
> On Wed, Apr 7, 2010 at 21:08, Erlend Hamnaberg <ngarthl@gmail.com> 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 &lt; &amp; > but this was cool.");
> >
> > Why isn't the > escaped to &gt; ?
> >
> >
> > -- Erlend
> >
>

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