XML Catalog Contributions Extension Point

Identifier:
org.eclipse.wst.xml.core.catalogContributions

Since:
1.0

Description:
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.

Configuration Markup:

<!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.



Examples:

   <extension 
         point="org.eclipse.wst.xml.core.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">
         </public>
         <nextCatalog
               id="nestedCatalog" 
               catalog="data/catalog1.xml"/> 
      </catalogContribution> 
   </extension>


Copyright (c) 2005 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html