abdera-user mailing list archives

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