Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/flazz/jxmlvalidator
simple java based xml validation tool
https://github.com/flazz/jxmlvalidator
Last synced: 6 days ago
JSON representation
simple java based xml validation tool
- Host: GitHub
- URL: https://github.com/flazz/jxmlvalidator
- Owner: flazz
- Created: 2009-07-09T14:51:08.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2010-10-25T13:24:06.000Z (about 14 years ago)
- Last Synced: 2024-10-31T13:54:53.313Z (15 days ago)
- Language: Java
- Homepage:
- Size: 324 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Java based XML Validator (for ruby)
===================================Why do this when libxml & friends already support validation?
Libxml (fast) does not support mixed-namespace validation and as of this writing have no plans to.
JAXP (slow) is a very complete XML stack and does support mixed-namespace validation.quickstart
----------require 'jxml/validator'
val = JXML::Validator.new
results = val.validate some_big_nasty_xml
results[:errors].each do |e|
puts "#{e[:line]}: #{e[:message]}"
endTODO
----- cache feature (already implemented in java, need ruby to hook into it)
- xml parsing options
- command line tool