
Hello, No, the XML catalog files cannot be added to Preferences -> Editor -> Default Schema Association. Only schema files are added there. The document types were not available in Oxygen 8 so you have to add the XML catalog files in Preferences -> XML -> XML Catalog. You have to add an xsi:schemaLocation attribute to the root element of your Shibboleth XML file, use a URL or a file path as the attribute value, not a URN as in your catalog file ("urn:oasis:names:tc:entity:xmlns:xml:catalog") and set that URL/file path as the systemId attribute value in the catalog file. You can see an example in the files [Oxygen8-install-folder]/samples/jsp/jspsample.jspx and [Oxygen8-install-folder]/frameworks/jsp/xsd/jspcatalog.xml. Regards, Sorin Steven_Carmody@brown.edu wrote:
thanks very much for the information. It turns out that I'm currently using Oxygen 8; in that version it looks like I enter this info via Preferences -> Editor -> Default Schema Association.
I added my five catalog.xml files via "Preferences -> Editor -> Default Schema Association".
The only difference I could see between sample supplied catalog files in the Oxygen/frameworks directory, and the Shibboleth catalog files was that the catalog file for frameworks/XML included this element:
<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
so I added that to the catalog file for shibboleth/xmltooling.
I then tried to validate, and got this error msg:
SystemID: /Users/stc/Sites/Projects/Shibboleth/Oxygen-2/Schema/xmltooling/catalog.xml Location: 3:62 Description: s4s-elt-schema-ns: The namespace of element 'catalog' must be from the schema namespace, 'http://www.w3.org/2001/XMLSchema'.
SystemID: /Users/stc/Sites/Projects/Shibboleth/Oxygen-2/Schema/xmltooling/catalog.xml Location: 3:62 Description: s4s-elt-invalid: Element 'catalog' is not a valid element in a schema document.
SystemID: /Users/stc/Sites/Projects/Shibboleth/Oxygen-2/Schema/xmltooling/catalog.xml Location: 3:62 Description: schema_reference.4: Failed to read schema document 'file:/Users/stc/Sites/Projects/Shibboleth/Oxygen-2/Schema/xmltooling/catalog.xml', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>. URL: http://www.w3.org/TR/xmlschema-1/#schema_reference
So... things have changed... but I think I'm still in need of some advice...
Thanks in advance!