There is a problem with attributes on "category" elements of a service document.
The rome propono library won't recognize the attribute "term" (or any other
attributes) unless they are prefixed with namespace "atom:".
This prefix on the attributes should not be needed if the namespaces are defined
correctly. An example of this can be seen in the examples provided by the APP
If I use the following code to parse the service document given in the example,
the attributes of the "atom:category" elements in the second collection are null.
AtomService atomService = ClientAtomService.documentToService(jdom_doc);
(where jdom_doc is a org.jdom.Document of the example atom service document)
The term attributes and scheme attributes should both have a value, as the draft
from the example shows:
I also tried to make a call to cateogoriesToElement() on the "Categories"
object, but this throws an exception due to that a null value is not allowed for
the "term" attribute.
If I prefix the attributes of the "atom:cateogory" with "atom:", then all is fine.