Progress
Version 9
Product Update Bulletin


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, X-DOCUMENT Object

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 Progress procedure libraries (.pl files).

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

NOTE: When Progress searches for the DTD, Progress 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 the Progress External Program Interfaces book.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095