|
Hi Jochen, Here is the setup we are deploying to:
However, xercesImpl.jar runs a bit slow on CrEme. So we are trying to move to nanoXml. With regard to changing the SAX parser to nanoXml, am I correct that you are referring to the properties file, jaxb.properties? So that jaxb.properties should look like : javax.xml.bind.context.factory=org.apache.ws.jaxme.impl.JAXBContextImpl javax.xml.parsers.SAXParserFactory=org.xml.sax.helpers.ParserAdapter org.xml.sax.parser=net.n3.nanoxml.sax.SAXParser Initially we had some problems with loading the jaxb.properties file on the PDA using CrEme 4.1. The issue is related to loading a resource from a Jar file when running CrEme. My experience with CrEme is that you need to use: InputStream inputstream = getClass().getResourceAsStream(resourceName); to open a file from a Jar file on CrEme. The standard Java approach, URL resource = pClassLoader.getResource(resourceName); However, placing the jaxb.properties in a directory that is part of the default CrEme classpath gets the jaxb.properties loaded. Unfortunately, once the jaxb.properties file is found, we get ClassLoader issues (I am guessing related to starting in Microlaunch). A quick fix for me might be to make the default values in the code be the above and recompile the project. Thus, no problem loading jaxb.properties and no ClassLoader issues either. If I wanted to override the current defaults for the three properties above, what code would I change? Thanks, Doug Jochen Wiedmann wrote: Doug Clancey wrote: --
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
|
- Can NanoXML be used as the XML parser for JaxMe? Doug Clancey
- Re: Can NanoXML be used as the XML parser for JaxMe? Jochen Wiedmann
- Re: Can NanoXML be used as the XML parser for Jax... Doug Clancey
- Re: Can NanoXML be used as the XML parser for Jax... Doug Clancey
- Re: Can NanoXML be used as the XML parser for... Jochen Wiedmann
- Re: Can NanoXML be used as the XML parser... Doug Clancey
