XML catalog uri element
Posted: Thu Sep 08, 2005 2:05 am
I can't seem to get the uri element to work in an XML catalog in the 6.0.0 version of the plugin for Eclipse 3.1. The rewriteSystem declaration below works fine, but when I try to validate a document whose root element is in the namespace, http://my.uri.goes/here/A, I get an error saying Oxygen can't find the declaration of the root element. I turned on verbose reporting in the catalog preferences and nothing even shows up on the console. Any ideas what's going on? Or what's not going on?
Any help would be much appreciated.
Code: Select all
<catalog
xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"
prefer="public">
<group
xml:id="schemaNamespaceMappings"
xml:base="file:///home/me/schemas/">
<uri
name="http://my.uri.goes/here/A"
uri="A.xsd"/>
<uri
name="http://my.uri.goes/here/B"
uri="B.xsd"/>
</group>
<rewriteSystem
systemIdStartString="http://some/other/uri/prefix"
rewritePrefix="file:///shared/schemas/"/>
</catalog>