[relaxng-user] Installing custom datatype libraries
Elliotte Harold
elharo at metalab.unc.edu
Tue Nov 2 11:02:19 ICT 2004
I've been able top get this to work with Sun's MSV, though I had to
directly call the driver class
to do it. It did not work when merely using java -jar.
~/Desktop/Downloads/jing-20030619/sample/datatype$ java -classpath
datatype-sample.jar:/Users/elharo/Desktop/Downloads/msv-20030225/msv.jar
com.sun.msv.driver.textui.Driver datatype-sample.rng valid.xml
start parsing a grammar.
Loaded balanced string
validating valid.xml
the document is valid.
There may be some weird classpath issue with runnable
jar archives here. Hmm, yep that's what's happening. Quoting from the
docs for the java interpreter -jar option, "When you use this option,
the JAR file is the source of all user classes, and other user class
path settings are ignored."
Learn something new every day, I suppose. There's still an issue with
Jing though. It does not work even when I do not use -classpath. I think
it may be failing to set an error handler. Time permitting I'll try to
debug this. Is there a public CVS server or a bug database for Jing
anywhere?
--
Elliotte Rusty Harold elharo at metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim
More information about the relaxng-user
mailing list