Out of line categories incorrectly serialized
---------------------------------------------
Key: ABDERA-203
URL: https://issues.apache.org/jira/browse/ABDERA-203
Project: Abdera
Issue Type: Bug
Affects Versions: 0.4.0
Reporter: Adam Constabaris
Priority: Minor
Fix For: 0.5.0
AbstractStreamWriter's startCategories() method sets the 'fixed' attribute on
the app:categories to 'no' and 'scheme' to null; when ServiceRequestProcessor
etc. output the document, both the 'fixed' and 'href' attributes are set, which
violates 7.2.1.1 of RFC 5023 ("If the "href" attribute is provided, the
app:categories element MUST be empty and MUST NOT have the "fixed" or "scheme"
attributes.")
I will attach a trivial patch: have startCategories() simply output the element
without any attributes.
This doesn't seem to break anything in the Abdera codebase, but it might break
client code that calls startCategories().
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.