Alvaro Martin wrote:
Hi, I'm using xerces2-j beta 3 and I'd like to keep my deployment as small
as possible.
Is it possible to avoid using packages org.w3c.dom.* and xml.sax.*? I've removed javax.* org.apache.html org.apache.wml org.apache.xerces.jaxp org.apache.xml.serialize org.w3c.dom.html
Any other way of reducing size? I need schema validation, so I'm using DTDXSParserConfiguration Thanks Alvaro
I made a silly, slow batch file in the /classes folder that did the following to make a SAX-only jar file.
jar cMvf sax.jar javax\xml\parsers\*.class jar uMvf sax.jar org\apache\xerces\impl\*.class jar uMvf sax.jar org\apache\xerces\impl\io\*.class jar uMvf sax.jar org\apache\xerces\impl\msg\*.class jar uMvf sax.jar org\apache\xerces\impl\validation\*.class jar uMvf sax.jar org\apache\xerces\jaxp\*.class jar uMvf sax.jar org\apache\xerces\parsers\*.class jar uMvf sax.jar org\apache\xerces\util\*.class jar uMvf sax.jar org\apache\xerces\xni\*.class jar uMvf sax.jar org\apache\xerces\xni\parser\*.class jar uMvf sax.jar org\xml\sax\*.class
I know it includes too much, but it seems to work.
One of the stated goals of X2 was to have different footprints for different needs. Does XNI impose too many dependencies to realize this, maybe?
Bob Jamison LinCom Corp
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
