used setContentAsXhtml but content body is empty
------------------------------------------------

                 Key: ABDERA-27
                 URL: http://issues.apache.org/jira/browse/ABDERA-27
             Project: Abdera
          Issue Type: Bug
         Environment: Abdera .2
            Reporter: Nell Gawor


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.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to