The XML Header

The Sessions XML file begins with a header section that describes the file, and specifies the location of the DTD for file validation.

If you use third party parsers with Sessions XML, be aware that some parsers require a fully qualified path to the DTD in the XML header, as shown below:

<!DOCTYPE toplink-configuration PUBLIC "-//Oracle Corp.//DTD TopLink for JAVA 4.5//EN" "file://<INSTALL_DIR>/config/dtds/sessions_9_0_4.dtd">

If you installed TopLink in the default directory, <INSTALL_DIR> is C:\<ORACLE_HOME>\toplink.


Related Topics

Navigating the Sessions XML File
The <toplink-configuration> Element
The <session> Element
The <session-broker> Element
JTA Configuration

 

Copyright © 1997, 2004, Oracle. All rights reserved.