Entry.clone does not clone the content type
-------------------------------------------
Key: ABDERA-30
URL: http://issues.apache.org/jira/browse/ABDERA-30
Project: Abdera
Issue Type: Bug
Environment: All
Reporter: James M Snell
String s = "<entry xmlns='http://www.w3.org/2005/Atom'><content
type='image/jpeg'>test</content></entry>";
ByteArrayInputStream in = new ByteArrayInputStream(s.getBytes());
Abdera abdera = new Abdera();
Parser parser = abdera.getParser();
Document doc = parser.parse(in);
Entry entry = (Entry)(doc.getRoot().clone());
System.out.println(entry.getContentType());
Should return "MEDIA", returns "TEXT" instead
--
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