abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Constabaris (JIRA)" <j...@apache.org>
Subject [jira] Created: (ABDERA-203) Out of line categories incorrectly serialized
Date Fri, 24 Oct 2008 01:23:44 GMT
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 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

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.

View raw message