Closed sczizzo closed 8 years ago
Have you tried updating the tests to use it REXML well?
REXML actually doesn't do validation against a DTD. AFAIK there are no pure Ruby implementations of this :/
I made a couple of clean-up type comments to the PR. Once you get those in place, I'll merge it in. Thanks for the work on this!
Merged. Thank you for your contribution!
No problem, thanks for the tool!
1.0.3 has been pushed with your changes. I converted the tests to use nokogiri for dtd validation, so it is now testable in jruby as well.
Looks like this gem depends
libxml-ruby
, which requireslibxml
and C extensions, so it's not possible to use this gem with JRuby. I was able to replace thelibxml-ruby
dependency withREXML
, which is pure Ruby and included in Ruby's standard library. The tests still rely onlibxml-ruby
, but the lib itself does not.