Bugs item #9158, was opened at 2007-03-09 16:29
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=1971&aid=9158&group_id=494
Category: None
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 3
Submitted By: Nobody (None)
>Assigned to: Charlie Savage (cfis)
>Summary: XML::Schema.new("filename") always returns nil
Initial Comment:
XML::Schema.new() returns nil no matter what XML schema file I ask it to parse.
When I look at ruby_xml_schema_init_from_url in ruby_xml_schema.c , the only
return statement returns Qnil.
So I don't see any usefulness for this Ruby method. Am I misunderstanding
something fundamental here?
----------------------------------------------------------------------
>Comment By: Charlie Savage (cfis)
Date: 2008-07-09 02:59
Message:
This has been fixed.
schema = XML::Schema.new(uri_to_schema)
Or:
schema = XML::Schema.from_string(schema_string)
Or:
schema = XML::Schema.document(document)
----------------------------------------------------------------------
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=1971&aid=9158&group_id=494
_______________________________________________
libxml-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/libxml-devel