[
https://issues.apache.org/jira/browse/ABDERA-27?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James M Snell closed ABDERA-27.
-------------------------------
> used setContentAsXhtml but content body is empty
> ------------------------------------------------
>
> Key: ABDERA-27
> URL: https://issues.apache.org/jira/browse/ABDERA-27
> Project: Abdera
> Issue Type: Bug
> Environment: Abdera .2
> Reporter: Nell Gawor
> Assigned To: Garrett Rooney
>
> I saw that Abdera .2 was out, so I downloaded it. I made a few tweaks, but
> the code that was working before is no longer working. Specifically the code:
> Entry entry = new FOMFactory().newEntry();
> entry.setId("http://localhost:8080/shoes/3");
> entry.setTitle("wrestling");
> entry.addAuthor("shoeShop.com");
> entry.setUpdated(new Date());
> String context = "<p class=\"size\">10</p>" +
> "<p class=\"color\">black</p>";
> entry.setContentAsXhtml(context);
> results in an entry of:
> <entry
> xmlns="http://www.w3.org/2005/Atom"><id>http://localhost:8080/shoes/3</id><title
>
> type="text">wrestling</title><author><name>shoeShop.com</name></author><updated>2006-12-06T18:17:09.984Z</updated><content
> type="xhtml"/></entry>
> That is, the content body is empty... is this a bug, or has there been some
> less obvious change to the API?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.