Re: [Yaml-core] [Rails] Programmatic way to find the bad spot in a YAML file?
"Clark C. Evans" <[email protected]>
| Newsgroups | gmane.comp.lang.ruby.rails,gmane.text.yaml.general |
|---|---|
| Message-ID | <[email protected]> |
There is another "C" version of YAML which is quite fast and gives very good exception reporting, at http://pyyaml.org/wiki/LibYAML, perhaps it needs a ruby binding? For a pure ruby solution, see http://rbyaml.rubyforge.org/ it should also have better error reporting than syck. On Tue, Aug 14, 2007 at 07:50:19PM -0700, Phlip wrote: | I asked this before and got nothing. Syck simply needs a new feature. YAML | is not useful until its parsing becomes fault-tolerance and introspective. On Tue, Aug 14, 2007 at 08:34:38PM -0700, Phlip wrote: | The outer problem is fault tolerance. Our programs can only be as | user-friendly and fault-tolerant as their libraries. The lower the library, | the more tolerance. I can't ask my customers to enter all their data in YAML | until I can highlight the line and column of their errors for them. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/[email protected] To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/[email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---