abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vasu Nori" <vasun...@gmail.com>
Subject question about entry.setContent() method
Date Fri, 25 Jan 2008 03:00:40 GMT
the following code
          entry.setContent("<a><b><c/></b></a>",Content.Type.XML);
should produce
         <content type="application/xml"><a><b><c/></b></a></content>.
(refer to http://cwiki.apache.org/ABDERA/getting-started.html)

but it produces <content type="application/xml"><a
xmlns=""><b><c/></b></a></content>.

^^^^^^^^^^^
inserting empty namespace attribute on the first element.

how can I avoid getting this empty attribute generated?  any help/suggestion
would be appreciated.

thanks

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