"Seegrid will be due for a migration to confluence on the 1st of August. Any update on or after the 1st of August will NOT be migrated"

XmlCatalogExpander

Description

Eclipse (3.3) does not honour rewrite entries in XML catalogs. This utility copies an XML catalog containing rewrite entries into a new catalog with explicit system or uri entries appended. These explicit entries are honoured by Eclipse.

rewriteSystem and rewriteURI entries are read from the catalog, and for every *.xsd file found under their target paths, an explicit system or uri entry is appended to the output catalog.

Use

java -jar XmlCatalogExpander.jar input.xml output.xml

Eclipse

To use the catalog in Eclipse, add the expanded catalog with Window > Preferences > Web and XML > XML Catalog, press Add, then Next Catalog, and browse to the catalog.

Example

XmlCatalogExpander was was used in with input to produce this Eclipse-friendly catalog The original catalog is used in GeoServer, while the expanded version is used in Eclipse.

Download

Source

Topic revision: r3 - 15 Oct 2010, UnknownUser
 

Current license: All material on this collaboration platform is licensed under a Creative Commons Attribution 3.0 Australia Licence (CC BY 3.0).