You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@abdera.apache.org by Vasu Nori <va...@gmail.com> on 2008/01/25 04:00:40 UTC
question about entry.setContent() method
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