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] Updated: (ABDERA-203) Out of line categories incorrectly serialized
Date Fri, 24 Oct 2008 01:25:44 GMT

     [ https://issues.apache.org/jira/browse/ABDERA-203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Adam Constabaris updated ABDERA-203:

    Attachment: ASW.diff

Patch for app:categories serialization bug

> 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
>         Attachments: ASW.diff
> 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 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.

View raw message