PreviousNextIndex

SCHEMA-PATH attribute

A delimiter-separated list of directory paths used to locate the XML Document Type Definition (DTD) associated with a particular XML document. It is searched if the XML document contains a relative path to the DTD.

Data type: CHARACTER

Access: Readable/Writable

Applies to: SAX-reader object handle, X-document object handle

The default is the Unknown value (?).

To separate directory paths, use a comma, or a delimiter character that your operating system recognizes.

To separate directory names and filenames within a path, use the UNIX format (forward slashes) or the standard format for your operating system.

SCHEMA-PATH can include HTTP URLs, but they might slow your application since accessing a DTD over the Web might take significantly longer than doing so over a file network.

SCHEMA-PATH cannot contain ABL procedure libraries (.pl files).

File pathnames cannot contain embedded commas. The AVM replaces delimiter characters with commas, so the resulting SCHEMA-PATH can be accessed using the ENTRY function.

Note: When the AVM searches for the DTD, the AVM concatenates each entry in SCHEMA-PATH with SYSTEM-ID (an attribute in DOM and a parameter of the ResolveEntity callback in SAX), which indicates the system ID of the external DTD. SYSTEM-ID might be as simple as a filename or as complex as a relative path.

For more information on accessing XML documents using the Document Object Model (DOM) or Simple API for XML (SAX) interfaces, see OpenEdge Development: Working with XML.


OpenEdge Release 10.2B
Copyright © 2009 Progress Software Corporation
PreviousNextIndex