abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James M Snell <jasn...@gmail.com>
Subject Re: [jira] Created: (ABDERA-27) used setContentAsXhtml but content body is empty
Date Wed, 13 Dec 2006 04:37:50 GMT
I just checked in the fix for this.

Nell Gawor (JIRA) wrote:
> 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?
> 

Mime
View raw message