This project is archived and is in readonly mode.
Using to_xml with folders in model cause invalid XML
Reported by José Antonio Silva | July 6th, 2009 @ 03:54 PM | in 3.0.2
With subfolders in model folders the to_xml method generates invalid XML:
ie:
I have this sctructure:
-models --resources ----post.rb
The class name in post.rb is Resources::Post
The to_xml method generates:
<?xml version="1.0" encoding="UTF-8"?> <resources/posts
type="array">
<resources/post>
<description>
Comments and changes to this ticket
-
Yehuda Katz (wycats) July 8th, 2009 @ 02:34 AM
- Milestone cleared.
- State changed from new to open
- Assigned user set to josh
-
Repository July 23rd, 2009 @ 03:18 AM
- State changed from open to resolved
(from [272c504f919d187603915059572e37d3a78329cc]) Dasherize XML root by default to avoid invalid tags "..." [#2875 state:resolved] http://github.com/rails/rails/commit/272c504f919d187603915059572e37...
-
Jeremy Kemper October 15th, 2010 @ 11:01 PM
- Milestone set to 3.0.2
- Importance changed from to
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Referenced by
- 2875 Using to_xml with folders in model cause invalid XML (from [272c504f919d187603915059572e37d3a78329cc]) Dasheri...