This section discusses XBinder's support for Java Standard Edition 1.4.
The standard XBinder runtime is for Java SE 1.5 and later. It uses some API features that are not present in JSE 1.4 (such as using StringBuilder rather than StringBuffer, in order to improve performance). For Java SE 1.4, you should:
Use xbrt_jse14.jar rather than xbrt.jar
Have JAXP 1.3. This provides some classes used by the runtime and/or generated code, including javax.xml.namespace.QName and javax.xml.datatype.*. JAXP 1.3 was incorporated into Java SE 1.5, but not Java SE 1.4.
Use the -jse14 XBinder command line option, along with the -java option to generate code that is compatible with Java SE 1.4.
You may choose whether to use the StAX API or XmlPull API. If you choose to use the XmlPull API, you will need to use the -xpp option when generating code. Of course, you will need the JAR file for whichever API you choose, along with an implementation of that API. You may opt to use the JARs in <XBINDER_HOME>\java\stax or <XBINDER_HOME>\java\xmlpull.