Recursive use of namespace prefixes for better readability and file size decreasing
Reported by Marcio Vinicius dos Santos | May 4th, 2010 @ 11:33 AM
Restfulie creates members with namespaces prefixes like the sample below:
<feed xmlns="http://www.w3.org/2005/Atom" >
...
<entry>
..
<articles:body type="html" xmlns:articles="http://localhost:3000/articles">body</articles:body>
<articles:author xmlns:articles="http://localhost:3000/articles">John Dee</articles:author>
<articles:creation_date xmlns:articles="http://localhost:3000/articles">2010-05-03T16:29:26-03:00</articles:creation_date>
</entry>
</feed>
Recursive use of namespace prefixes allows more concise feeds like this:
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:articles="http://localhost:3000/articles">
...
<entry>
..
<articles:body type="html">body</articles:body>
<articles:author>John Dee</articles:author>
<articles:creation_date>2010-05-03T16:29:26-03:00</articles:creation_date>
</entry>
</feed>
Comments and changes to this ticket
-
Cipriani May 4th, 2010 @ 02:16 PM
- Tag set to bug
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »