
We hope this could be useful for souls doing the same in the future.
#INSTALL XERCES CODE#
We did lots of painstaking research, patched the code manually and finally managed to build these libraries in multiple platforms. This blog will list the steps needed to build these libraries for whatever use you have.
#INSTALL XERCES WINDOWS#
We spent hell a lot of time compiling C++ based source code of Xerces, Xalan XML libraries on Linux32, Linu圆4, OSX (圆4), Windows x86, Windows 圆4 platforms.
#INSTALL XERCES HOW TO#
: Īt (PlainSocketImpl.java:153)Īt (Socket.java:452)Īt (Socket.java:402)Īt (NetworkClient.java:139)Īt (URL.java:913)Īt .tupCurrentEntity(Unknown Source)Īt .XMLEntityManager.startEntity(Unknown Source)Īt .XMLEntityManager.startDTDEntity(Unknown Source)Īt .tInputSource(Unknown Source)Īt .XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)Īt .XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)Īt .XML11Configuration.parse(Unknown Source)Īt .DTDConfiguration.parse(Unknown Source)Īt .XMLParser.parse(Unknown Source)Īt .AbstractSAXParser.parse(Unknown Source)Īny ideas on how to configure my proxy either in Build.xml or in ~/.Compiling Xalan, Xerces - C++ Source on multiple platforms Java -Dhttp.proxyHost= -Dhttp.proxyPort=8080 -cp /disk2/ejstuff/xplanner_0.5/lib/xerces/xercesImpl.jar:/disk2/ejstuff/xplanner_0.5/lib/xerces/xml-apis.jar:/disk2/ejstuff/xplanner_0.5/lib/xerces/xmlParserAPIs.jar:/disk2/ejstuff/xplanner_0.5/lib/xerces/xercesSamples.jar sax.Writer -v file:///disk2/ejstuff/xplanner_0.5/xplanner/resources/mappings/Integration.xmlĮrror: Parse error occurred. Integration.xml document using xerces, however I must set the proxy. Using the sample sax.Writer program that ships with xerces, i'm able to successfully parse the xplanner looks like it'd be very useful to my team if i can get it running. I'm happy to pursue diagnostics as time allows. 1478 ERROR - Could not configure datastore from file: The ' characters around the executable and arguments are '/disk2/ejstuff/xplanner_0.5/xplanner/resources/mappings/Integration.xml' '/disk2/ejstuff/xplanner_0.5/xplanner/resources:/disk2/ejstuff/xplanner_0.5/lib/axis/axis-ant.jar: STUFF DELETED - looks like all.

Executing '/usr/dist/share/java,v1.4.2/5.x-sun4/jre/bin/java' with arguments: Set property = /disk2/ejstuff/xplanner_0.5/xplanner/resources/mappings/Integration.xml I'm wondering if the null arguement for -format (?) could be problematic? Stephen, do you have a build.xml file with CLASSPATH settings I can check out? I've tried to search the hibernate site and have found nothing that fits exactly. Maybe xerces is complaining about "no protocol" and "malformed URL" because it's expecting a DTD reference like or "path/to/file" that it isn't getting. So, the JDK parser could be complaining about "missing DOCTYPE declaration" and "missing root element" because that's the first things the parser looks for.

Maybe its an empty stream? In my experience XML parsers tend to give fairly misleading error messages. Wondering if there's a way to tell ant to invoke java/javac with a proxy setting, like 'java -Dhttp.proxyHost=host -Dhttp.proxyPort=port'.Īlso, I'm beginning to question whether or .parseFile are actually passing the document or doc pointer to xerces and/or the JDK's built-in parser.

So, it's not a problem with xerces and locally referenced DTDs. No, I've moved back to using the original files with the http DTD reference. at .BootstrapAdminUser.main(BootstrapAdminUser.java:53) at .XPlannerInitializationPlugin.initializeHibernate(XPlannerInitializationPlugin.java:75) at .storeResource(DatastoreImpl.java:128) : Resource: mappings/Project.xml not found 1 INFO - Mapping resource: mappings/Project.xml at .DocumentBuilderImpl.parse(Unknown Source) at .DTDConfiguration.parse(Unknown Source) at .XML11Configuration.parse(Unknown Source) 1434 ERROR - Could not configure datastore from file: Hibernate-mapping-1.1.dtd* src-test/ xplanner.war* Script started on Thu Sep 18 14:38:53 2003īuild/ resources/ trying_to_install_schema.txt* It looks like i got ant to use xerces as its parser, but i'm still getting a stack trace:

This is a fork of the previous "ant install.db.schema" thread.
