Does TAMINO CLIENT work with xerces ?

Hi,

Does one know about this ?

I am using taminoclient.jar that comes with 3.1.1.4.

Using xercesImpl.jar for SAX implementation.

Have a look at the code sample.

String saxImplementer = “org.apache.xerces.parsers.SAXParser”;
TaminoClient _tamino = new TaminoClient(strUrl);
_tamino.setSAXimplementer(saxImplementer);

When I make a call to

TaminoResult tr = _tamino.Echo();

I get the following exception,

Fatal parse error in null at line 4, column 23:
org.xml.sax.SAXParseException: The processing instruction target matching “[xX][
mM][lL]” is not allowed.
Exception occurred during event dispatching:
java.lang.NullPointerException
at com.softwareag.tamino.API.dom.TaminoResult.(TaminoResult.java:1
38)
at com.softwareag.tamino.API.dom.TaminoClient.Echo(TaminoClient.java:134
7)

Thanks.

Very probably no, the TaminoClient is a DOMv1 API only and therefore it is unlikely to work with Xerces. My recommendation is to use the TaminoAPI4J API which is compliant with DOM level 2, SAX 2, JDOM etc and actually requires Xerces as a prerequisite.

Hope this helps.


Stuart Fyffe-Collins
Software AG (UK) Ltd.