On Sat, Apr 21, 2007 at 11:33:35PM -0500, Tim Pope wrote:
> On the subject of XML schemas, the biggest missing piece of the puzzle
> is a way to get the appropriate attributes on the root element for
> records.  I am thinking an interface would look something like
> 
> @people.to_xml(
>   :root_attributes => {
>     'xmlns:xsi' => "http://www.w3.org/2001/XMLSchema-instance";,
>     'xsi:noNamespaceSchemaLocation' => formatted_people_url(:xsd)
>   }
> )
> 
> The implementation should be simple enough, but before I do it I want
> to get some feedback on the interface (or at least, not get negative
> feedback).

I have implemented this including tests and submitted it as two
tickets, one for ActiveSupport and one for ActiveRecord.

http://dev.rubyonrails.org/ticket/8167
http://dev.rubyonrails.org/ticket/8169

Cheers,
Tim

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to