Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[lyo-dev] Difference in XML /RDF vs JSON

Hi all,

I noticed when I request a list in a certain order, with header with application/xml or application/rdf+xml in the header, the list returned is not in the correct order.
However with application/json it is returned in the right order.

Another problem is when there is a Link attribute that links one of the resources in the list to the otherĀ , the xml returned places the linked resource inside the other as if it was one of its attrbutes instead of just keeping the link as it is. This causes that some items in the list appear inside others and not as members of the list.
Again in application/json this does not happen.

Has anyone faced similar problems and how can I fix this?

Best Regards,

Mohamed Mahmoud

Back to the top