Configuring XML Catalogs
To test the catalog settings, restart Oxygen XML Editor and try to validate a new sample custom framework document. There should be no errors.
The sdf.xsd schema that validates the document refers the other file abs.xsd through an import element:
<xs:import namespace= "http://www.oxygenxml.com/sample/documentation/abstracts" schemaLocation="http://www.oxygenxml.com/SDF/abs.xsd"/>
The schemaLocation attribute references the abs.xsd
file:
xsi:schemaLocation="http://www.oxygenxml.com/sample/documentation/abstracts"
http://www.oxygenxml.com/SDF/abs.xsd"/>
The catalog mapping is:
http://www.oxygenxml.com/SDF/abs.xsd -> schema/abs.xsd
This means that all the references to http://www.oxygenxml.com/SDF/abs.xsd must be resolved to the abs.xsd file located in the schema directory. The URI element is used by URI resolvers (for example, to resolve a URI reference used in an XSLT stylesheet).