I have the same problem as dwTwiLighT, even, when i use parse method
before.
=

I want to check if xml received by my application (made with RoR and
libxml-ruby) via POST request is well-formed.
This is the source code of that part:
       p = XML::Parser.new
       p.string = params[:xml]
       if p.context.well_formed?
         doc = p.parse


Despite the documentation, its actually p.parser_context and not p.context. I've updated the svn code to go with parser.context for the next release.

Charlie

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
libxml-devel mailing list
libxml-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/libxml-devel

Reply via email to