You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Rajdeep Dua (JIRA)" <ji...@apache.org> on 2008/08/07 21:18:46 UTC

[jira] Created: (SHINDIG-497) ATOM format invalid

ATOM format invalid
-------------------

                 Key: SHINDIG-497
                 URL: https://issues.apache.org/jira/browse/SHINDIG-497
             Project: Shindig
          Issue Type: Bug
          Components: RESTful API (Java)
         Environment: All
            Reporter: Rajdeep Dua


The Xml returned on a GET request from REST end point returns an invalid ATOM XML ( see below )

<personimpl>
	<activities/>
	<addresses/>
	<books/>
	<cars/>
	<emails/>
	<food/>
	<heroes/>
	<id>john.doe</id>
	<interests/>
	<isOwner>false</isOwner>
	<isViewer>false</isViewer>
	<jobs/>
	<languagesSpoken/>
	<movies/>
	<music/>
	<name>
		<familyName>Doe</familyName>
		<givenName>John</givenName>
		<unstructured>John Doe</unstructured>
	</name>
	<phoneNumbers/>
	<quotes/>
	<schools/>
	<sports/>
	<tags/>
	<turnOffs/>
	<turnOns/>
	<tvShows/>
	<urls/>
</personimpl>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SHINDIG-497) ATOM format invalid

Posted by "Sunil Kumar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SHINDIG-497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12639045#action_12639045 ] 

Sunil Kumar commented on SHINDIG-497:
-------------------------------------

Hi Rajdeep,  can you  elaborate more on this issue please.
Actually when you type format=atom it returns a xml file and when you type format=xml it returns an atom response.

> ATOM format invalid
> -------------------
>
>                 Key: SHINDIG-497
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-497
>             Project: Shindig
>          Issue Type: Bug
>          Components: RESTful API (Java)
>         Environment: All
>            Reporter: Rajdeep Dua
>            Priority: Blocker
>
> The Xml returned on a GET request from REST end point returns an invalid ATOM XML ( see below )
> <personimpl>
> 	<activities/>
> 	<addresses/>
> 	<books/>
> 	<cars/>
> 	<emails/>
> 	<food/>
> 	<heroes/>
> 	<id>john.doe</id>
> 	<interests/>
> 	<isOwner>false</isOwner>
> 	<isViewer>false</isViewer>
> 	<jobs/>
> 	<languagesSpoken/>
> 	<movies/>
> 	<music/>
> 	<name>
> 		<familyName>Doe</familyName>
> 		<givenName>John</givenName>
> 		<unstructured>John Doe</unstructured>
> 	</name>
> 	<phoneNumbers/>
> 	<quotes/>
> 	<schools/>
> 	<sports/>
> 	<tags/>
> 	<turnOffs/>
> 	<turnOns/>
> 	<tvShows/>
> 	<urls/>
> </personimpl>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (SHINDIG-497) ATOM format invalid

Posted by "Ian Boston (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ian Boston reassigned SHINDIG-497:
----------------------------------

    Assignee: Ian Boston

> ATOM format invalid
> -------------------
>
>                 Key: SHINDIG-497
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-497
>             Project: Shindig
>          Issue Type: Bug
>          Components: RESTful API (Java)
>         Environment: All
>            Reporter: Rajdeep Dua
>            Assignee: Ian Boston
>            Priority: Blocker
>
> The Xml returned on a GET request from REST end point returns an invalid ATOM XML ( see below )
> <personimpl>
> 	<activities/>
> 	<addresses/>
> 	<books/>
> 	<cars/>
> 	<emails/>
> 	<food/>
> 	<heroes/>
> 	<id>john.doe</id>
> 	<interests/>
> 	<isOwner>false</isOwner>
> 	<isViewer>false</isViewer>
> 	<jobs/>
> 	<languagesSpoken/>
> 	<movies/>
> 	<music/>
> 	<name>
> 		<familyName>Doe</familyName>
> 		<givenName>John</givenName>
> 		<unstructured>John Doe</unstructured>
> 	</name>
> 	<phoneNumbers/>
> 	<quotes/>
> 	<schools/>
> 	<sports/>
> 	<tags/>
> 	<turnOffs/>
> 	<turnOns/>
> 	<tvShows/>
> 	<urls/>
> </personimpl>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (SHINDIG-497) ATOM format invalid

Posted by "Sunil Kumar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SHINDIG-497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12639045#action_12639045 ] 

suniluiit edited comment on SHINDIG-497 at 10/13/08 6:27 AM:
---------------------------------------------------------------

Hi Rajdeep,  can you  elaborate more on this issue please.
Actually when you type format=atom it returns a xml file and when you type format=xml it returns an atom response.
And if you want to change this then you need to change SocialApiGuiceModule.java 

    bind(BeanConverter.class).annotatedWith(Names.named("shindig.bean.converter.xml")).to(
        BeanXmlConverter.class);
    bind(BeanConverter.class).annotatedWith(Names.named("shindig.bean.converter.json")).to(
        BeanJsonConverter.class);
    bind(BeanConverter.class).annotatedWith(Names.named("shindig.bean.converter.atom")).to(
        BeanAtomConverter.class);
To

    bind(BeanConverter.class).annotatedWith(Names.named("shindig.bean.converter.xml")).to(
        BeanAtomConverter.class);
    bind(BeanConverter.class).annotatedWith(Names.named("shindig.bean.converter.json")).to(
        BeanJsonConverter.class);
    bind(BeanConverter.class).annotatedWith(Names.named("shindig.bean.converter.atom")).to(
        BeanXmlConverter.class);





      was (Author: suniluiit):
    Hi Rajdeep,  can you  elaborate more on this issue please.
Actually when you type format=atom it returns a xml file and when you type format=xml it returns an atom response.
And if you want to change this then you need to change SocialApiGuiceModule.java 

    bind(BeanConverter.class).annotatedWith(Names.named("shindig.bean.converter.xml")).to(
        BeanXmlConverter.class);
    bind(BeanConverter.class).annotatedWith(Names.named("shindig.bean.converter.json")).to(
        BeanJsonConverter.class);
    bind(BeanConverter.class).annotatedWith(Names.named("shindig.bean.converter.atom")).to(
        BeanAtomConverter.class);
To

    bind(BeanConverter.class).annotatedWith(Names.named("shindig.bean.converter.xml")).to(
        BeanAtomConverter.class);
    bind(BeanConverter.class).annotatedWith(Names.named("shindig.bean.converter.json")).to(
        BeanJsonConverter.class);
    bind(BeanConverter.class).annotatedWith(Names.named("shindig.bean.converter.atom")).to(
        BeanXmlConverter.class);


  
> ATOM format invalid
> -------------------
>
>                 Key: SHINDIG-497
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-497
>             Project: Shindig
>          Issue Type: Bug
>          Components: RESTful API (Java)
>         Environment: All
>            Reporter: Rajdeep Dua
>            Priority: Blocker
>
> The Xml returned on a GET request from REST end point returns an invalid ATOM XML ( see below )
> <personimpl>
> 	<activities/>
> 	<addresses/>
> 	<books/>
> 	<cars/>
> 	<emails/>
> 	<food/>
> 	<heroes/>
> 	<id>john.doe</id>
> 	<interests/>
> 	<isOwner>false</isOwner>
> 	<isViewer>false</isViewer>
> 	<jobs/>
> 	<languagesSpoken/>
> 	<movies/>
> 	<music/>
> 	<name>
> 		<familyName>Doe</familyName>
> 		<givenName>John</givenName>
> 		<unstructured>John Doe</unstructured>
> 	</name>
> 	<phoneNumbers/>
> 	<quotes/>
> 	<schools/>
> 	<sports/>
> 	<tags/>
> 	<turnOffs/>
> 	<turnOns/>
> 	<tvShows/>
> 	<urls/>
> </personimpl>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (SHINDIG-497) ATOM format invalid

Posted by "Sunil Kumar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SHINDIG-497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12639045#action_12639045 ] 

suniluiit edited comment on SHINDIG-497 at 10/13/08 6:26 AM:
---------------------------------------------------------------

Hi Rajdeep,  can you  elaborate more on this issue please.
Actually when you type format=atom it returns a xml file and when you type format=xml it returns an atom response.
And if you want to change this then you need to change SocialApiGuiceModule.java 

bind(BeanConverter.class).annotatedWith(Names.named("shindig.bean.converter.xml")).to(
        BeanXmlConverter.class);
    bind(BeanConverter.class).annotatedWith(Names.named("shindig.bean.converter.json")).to(
        BeanJsonConverter.class);
    bind(BeanConverter.class).annotatedWith(Names.named("shindig.bean.converter.atom")).to(
        BeanAtomConverter.class);
to

bind(BeanConverter.class).annotatedWith(Names.named("shindig.bean.converter.xml")).to(
        BeanAtomConverter.class);
    bind(BeanConverter.class).annotatedWith(Names.named("shindig.bean.converter.json")).to(
        BeanJsonConverter.class);
    bind(BeanConverter.class).annotatedWith(Names.named("shindig.bean.converter.atom")).to(
        BeanXmlConverter.class);



      was (Author: suniluiit):
    Hi Rajdeep,  can you  elaborate more on this issue please.
Actually when you type format=atom it returns a xml file and when you type format=xml it returns an atom response.
  
> ATOM format invalid
> -------------------
>
>                 Key: SHINDIG-497
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-497
>             Project: Shindig
>          Issue Type: Bug
>          Components: RESTful API (Java)
>         Environment: All
>            Reporter: Rajdeep Dua
>            Priority: Blocker
>
> The Xml returned on a GET request from REST end point returns an invalid ATOM XML ( see below )
> <personimpl>
> 	<activities/>
> 	<addresses/>
> 	<books/>
> 	<cars/>
> 	<emails/>
> 	<food/>
> 	<heroes/>
> 	<id>john.doe</id>
> 	<interests/>
> 	<isOwner>false</isOwner>
> 	<isViewer>false</isViewer>
> 	<jobs/>
> 	<languagesSpoken/>
> 	<movies/>
> 	<music/>
> 	<name>
> 		<familyName>Doe</familyName>
> 		<givenName>John</givenName>
> 		<unstructured>John Doe</unstructured>
> 	</name>
> 	<phoneNumbers/>
> 	<quotes/>
> 	<schools/>
> 	<sports/>
> 	<tags/>
> 	<turnOffs/>
> 	<turnOns/>
> 	<tvShows/>
> 	<urls/>
> </personimpl>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (SHINDIG-497) ATOM format invalid

Posted by "Ian Boston (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ian Boston closed SHINDIG-497.
------------------------------

    Resolution: Fixed

Fixed, and committed

> ATOM format invalid
> -------------------
>
>                 Key: SHINDIG-497
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-497
>             Project: Shindig
>          Issue Type: Bug
>          Components: RESTful API (Java)
>         Environment: All
>            Reporter: Rajdeep Dua
>            Assignee: Ian Boston
>            Priority: Blocker
>
> The Xml returned on a GET request from REST end point returns an invalid ATOM XML ( see below )
> <personimpl>
> 	<activities/>
> 	<addresses/>
> 	<books/>
> 	<cars/>
> 	<emails/>
> 	<food/>
> 	<heroes/>
> 	<id>john.doe</id>
> 	<interests/>
> 	<isOwner>false</isOwner>
> 	<isViewer>false</isViewer>
> 	<jobs/>
> 	<languagesSpoken/>
> 	<movies/>
> 	<music/>
> 	<name>
> 		<familyName>Doe</familyName>
> 		<givenName>John</givenName>
> 		<unstructured>John Doe</unstructured>
> 	</name>
> 	<phoneNumbers/>
> 	<quotes/>
> 	<schools/>
> 	<sports/>
> 	<tags/>
> 	<turnOffs/>
> 	<turnOns/>
> 	<tvShows/>
> 	<urls/>
> </personimpl>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SHINDIG-497) ATOM format invalid

Posted by "Cassie Doll (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cassie Doll updated SHINDIG-497:
--------------------------------

    Priority: Blocker  (was: Major)

> ATOM format invalid
> -------------------
>
>                 Key: SHINDIG-497
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-497
>             Project: Shindig
>          Issue Type: Bug
>          Components: RESTful API (Java)
>         Environment: All
>            Reporter: Rajdeep Dua
>            Priority: Blocker
>
> The Xml returned on a GET request from REST end point returns an invalid ATOM XML ( see below )
> <personimpl>
> 	<activities/>
> 	<addresses/>
> 	<books/>
> 	<cars/>
> 	<emails/>
> 	<food/>
> 	<heroes/>
> 	<id>john.doe</id>
> 	<interests/>
> 	<isOwner>false</isOwner>
> 	<isViewer>false</isViewer>
> 	<jobs/>
> 	<languagesSpoken/>
> 	<movies/>
> 	<music/>
> 	<name>
> 		<familyName>Doe</familyName>
> 		<givenName>John</givenName>
> 		<unstructured>John Doe</unstructured>
> 	</name>
> 	<phoneNumbers/>
> 	<quotes/>
> 	<schools/>
> 	<sports/>
> 	<tags/>
> 	<turnOffs/>
> 	<turnOns/>
> 	<tvShows/>
> 	<urls/>
> </personimpl>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (SHINDIG-497) ATOM format invalid

Posted by "Sunil Kumar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SHINDIG-497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12639045#action_12639045 ] 

suniluiit edited comment on SHINDIG-497 at 10/13/08 6:27 AM:
---------------------------------------------------------------

Hi Rajdeep,  can you  elaborate more on this issue please.
Actually when you type format=atom it returns a xml file and when you type format=xml it returns an atom response.
And if you want to change this then you need to change SocialApiGuiceModule.java 

    bind(BeanConverter.class).annotatedWith(Names.named("shindig.bean.converter.xml")).to(
        BeanXmlConverter.class);
    bind(BeanConverter.class).annotatedWith(Names.named("shindig.bean.converter.json")).to(
        BeanJsonConverter.class);
    bind(BeanConverter.class).annotatedWith(Names.named("shindig.bean.converter.atom")).to(
        BeanAtomConverter.class);
To

    bind(BeanConverter.class).annotatedWith(Names.named("shindig.bean.converter.xml")).to(
        BeanAtomConverter.class);
    bind(BeanConverter.class).annotatedWith(Names.named("shindig.bean.converter.json")).to(
        BeanJsonConverter.class);
    bind(BeanConverter.class).annotatedWith(Names.named("shindig.bean.converter.atom")).to(
        BeanXmlConverter.class);



      was (Author: suniluiit):
    Hi Rajdeep,  can you  elaborate more on this issue please.
Actually when you type format=atom it returns a xml file and when you type format=xml it returns an atom response.
And if you want to change this then you need to change SocialApiGuiceModule.java 

bind(BeanConverter.class).annotatedWith(Names.named("shindig.bean.converter.xml")).to(
        BeanXmlConverter.class);
    bind(BeanConverter.class).annotatedWith(Names.named("shindig.bean.converter.json")).to(
        BeanJsonConverter.class);
    bind(BeanConverter.class).annotatedWith(Names.named("shindig.bean.converter.atom")).to(
        BeanAtomConverter.class);
to

bind(BeanConverter.class).annotatedWith(Names.named("shindig.bean.converter.xml")).to(
        BeanAtomConverter.class);
    bind(BeanConverter.class).annotatedWith(Names.named("shindig.bean.converter.json")).to(
        BeanJsonConverter.class);
    bind(BeanConverter.class).annotatedWith(Names.named("shindig.bean.converter.atom")).to(
        BeanXmlConverter.class);


  
> ATOM format invalid
> -------------------
>
>                 Key: SHINDIG-497
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-497
>             Project: Shindig
>          Issue Type: Bug
>          Components: RESTful API (Java)
>         Environment: All
>            Reporter: Rajdeep Dua
>            Priority: Blocker
>
> The Xml returned on a GET request from REST end point returns an invalid ATOM XML ( see below )
> <personimpl>
> 	<activities/>
> 	<addresses/>
> 	<books/>
> 	<cars/>
> 	<emails/>
> 	<food/>
> 	<heroes/>
> 	<id>john.doe</id>
> 	<interests/>
> 	<isOwner>false</isOwner>
> 	<isViewer>false</isViewer>
> 	<jobs/>
> 	<languagesSpoken/>
> 	<movies/>
> 	<music/>
> 	<name>
> 		<familyName>Doe</familyName>
> 		<givenName>John</givenName>
> 		<unstructured>John Doe</unstructured>
> 	</name>
> 	<phoneNumbers/>
> 	<quotes/>
> 	<schools/>
> 	<sports/>
> 	<tags/>
> 	<turnOffs/>
> 	<turnOns/>
> 	<tvShows/>
> 	<urls/>
> </personimpl>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SHINDIG-497) ATOM format invalid

Posted by "Ian Boston (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SHINDIG-497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12649076#action_12649076 ] 

Ian Boston commented on SHINDIG-497:
------------------------------------

The serializers for XML now use the XStream serialization, and have been fixed to produce the correct output for atom. If there are further problems with the Atom feeds please open new bugs and detail precisely where the errors are so that they can be fixed.


> ATOM format invalid
> -------------------
>
>                 Key: SHINDIG-497
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-497
>             Project: Shindig
>          Issue Type: Bug
>          Components: RESTful API (Java)
>         Environment: All
>            Reporter: Rajdeep Dua
>            Priority: Blocker
>
> The Xml returned on a GET request from REST end point returns an invalid ATOM XML ( see below )
> <personimpl>
> 	<activities/>
> 	<addresses/>
> 	<books/>
> 	<cars/>
> 	<emails/>
> 	<food/>
> 	<heroes/>
> 	<id>john.doe</id>
> 	<interests/>
> 	<isOwner>false</isOwner>
> 	<isViewer>false</isViewer>
> 	<jobs/>
> 	<languagesSpoken/>
> 	<movies/>
> 	<music/>
> 	<name>
> 		<familyName>Doe</familyName>
> 		<givenName>John</givenName>
> 		<unstructured>John Doe</unstructured>
> 	</name>
> 	<phoneNumbers/>
> 	<quotes/>
> 	<schools/>
> 	<sports/>
> 	<tags/>
> 	<turnOffs/>
> 	<turnOns/>
> 	<tvShows/>
> 	<urls/>
> </personimpl>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.