Skip Headers

# XML Parser Platform Configuration

Previous

Next

The TopLink run-time environment uses an XML parser to do the following:

- Read and write XML configuration files (see "project.xml File" and "sessions.xml File")

- Read and write TopLink Workbench project files (see "Understanding TopLink Workbench")

- Perform object-to-XML transformations in EIS projects using XML records (see Understanding EIS Mappings

- Perform object-to-XML transformations in XML projects (see Understanding XML Mappings

Application servers use an XML parser to read deployment files such as `ejb-jar.xml` and `<``J2EE container`>`-ejb-jar.xml` (see "Creating TopLink Files for Deployment").

To avoid XML parser conflicts, you must configure your TopLink application to use the same XML parser as that used by the application server on which you deploy your application.

Internally, TopLink accesses its XML parser using an instance of `oracle.toplink.platform.xml.XMLPlatform` class.

You can configure TopLink to use any XML parser for which an `XMLPlatform` class exists (see "Configuring XML Parser Platform").

You can also create your own `XMLPlatform` to provide access to an XML parser not currently supported by TopLink (see "Creating an XML Parser Platform").