https://github.com/flazz/jxmlvalidator
simple java based xml validation tool
https://github.com/flazz/jxmlvalidator
Last synced: 5 months 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 (about 16 years ago)
- Default Branch: master
- Last Pushed: 2010-10-25T13:24:06.000Z (over 14 years ago)
- Last Synced: 2025-02-04T04:05:47.801Z (5 months 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