XML Catalog Contributions Extension Point

org.eclipse.wst.xml.core.catalogContributions

1.0

This extension point allows to specify entries for XML Catalog. Catalog entries have format specified in http://www.oasis-open.org/committees/entity/spec.html. Each catalog extension consists of a single catalogContribution element.

<!ELEMENT extension (catalogContribution)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT catalogContribution (public* , system* , uri* , nextCatalog*)>

<!ATTLIST catalogContribution

id CDATA #IMPLIED>

The catalogContribution element may have id, and it is just a container for the contributed catalog entries.



<!ELEMENT public EMPTY>

<!ATTLIST public

id       CDATA #IMPLIED

publicId CDATA #REQUIRED

uri      CDATA #REQUIRED

webURL   CDATA #IMPLIED>

The public element associates a URI reference with the public identitier portion of an external identifier.



<!ELEMENT system EMPTY>

<!ATTLIST system

id       CDATA #IMPLIED

systemId CDATA #REQUIRED

uri      CDATA #REQUIRED>

The system elements associates a URI reference with the system identifier of an external identifier



<!ELEMENT uri EMPTY>

<!ATTLIST uri

id   CDATA #IMPLIED

uri  CDATA #REQUIRED

name CDATA #REQUIRED>

The uri element associates a URI reference with the a URI reference that is not part of an external identifier.



<!ELEMENT nextCatalog EMPTY>

<!ATTLIST nextCatalog

id      CDATA #IMPLIED

catalog CDATA #REQUIRED>

The nextCatalog elements indicate additional catalog entry file(s) to be considered during the process of resolution.



   

<extension point=

"org.eclipse.wst.xml.uriresolver.catalogContributions"

>

<catalogContribution>

<system systemId=

"http://schemas.xmlsoap.org/wsdl/"

uri=

"data/xsd/wsdl.xml"

>

<property name=

"webURL"

value=

"http://schemas.xmlsoap.org/wsdl/"

/>

</system>

<uri name=

"http://schemas.xmlsoap.org/wsdl/soap/"

uri=

"data/xsd/soap.xsd"

/>

<public publicId=

"http://www.w3.org/1999/XSL/Transform"

uri=

"data/xsd/XSLSchema.xsd"

>

<property name=

"webURL"

value=

"http://schemas.xmlsoap.org/wsdl/"

/>

</public>

<nextCatalog id=

"nestedCatalog"

catalog=

"data/catalog1.xml"

/>

</catalogContribution>

</extension>