Topic: uninitialized constant LibXMLJRuby::XML::Schema
I'm trying to validate a xml File against a '*.xsd' Schema-File.
- I have the libxml-jruby Gem installed.
- I'm using JRUBY 1.4.0
My code looks like this:
require 'xml' ... document = XML::Document.file(temp_file.path) schema = XML::Schema.document(xsd_file_name) document.validate_schema(schema) ...
I get this error:
uninitialized constant LibXMLJRuby::XML::Schema
Does anybody know how to do it right?
Last edited by pango (2010-05-06 04:05:07)