User's Guide
The AbtXmlConfiguration can also be used to specify locations for parsed
resources. For example, the [Xml] stanza in the previous example
contains an entry with name sstwsdl.xsd.
When the parser attempts to resolve the resource named
sstwsdl.xsd, it will first attempt to find the resource at
the location http://vasthost/wsdlschema.xsd as
specified in the configuration.
Below is summary of the algorithm used to resolve parsed resources.
- If a publicId is specified for a resource, attempt to resolve the publicId
in the active AbtXmlConfiguration. If a setting is found for the
publicId, find the resource at the specified location. A PUBLICID is
sometimes specified on the DOCTYPE instruction of an XML document that is
validated using a DTD. For other resources, the actual resource name is
treated as the publicId and is looked up in the active
AbtXmlConfiguration.
- If resource not found, assume the passed resource name is already an
absolute path and attempt to locate it.
- If resource not found, see if the passed resource name is relative to the
path of a parent resource
- If resource not found, attempt to qualify the resource name with the
DefaultResourceQualifier from the active AbtXmlConfiguration
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]