You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@abdera.apache.org by "Adam Constabaris (JIRA)" <ji...@apache.org> on 2008/10/24 03:23:44 UTC
[jira] Created: (ABDERA-203) Out of line categories incorrectly
serialized
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.
[jira] Closed: (ABDERA-203) Out of line categories incorrectly
serialized
Posted by "David Calavera (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ABDERA-203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Calavera closed ABDERA-203.
---------------------------------
Resolution: Fixed
Assignee: David Calavera
> 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
> Assignee: David Calavera
> 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 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.
[jira] Updated: (ABDERA-203) Out of line categories incorrectly
serialized
Posted by "Adam Constabaris (JIRA)" <ji...@apache.org>.
[ 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 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.