For example for type `date` is able to handle invalid values for example:

    <table>
      <field type="date">a invalid date</field>
    </table>

I understand that this is not a valid XML but it is a real case which I 
wish parse with `Hash.from_xml`

I didn't created the PR yet because I understood that the patch should be 
accepted by the rubyonrails-core mailing list 

https://github.com/rails/rails/compare/master...ceritium:hash-from-xml-handle-argument-error?expand=1

Best regards!

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-core+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
Visit this group at https://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.

Reply via email to