Catalogs seem to be loaded but when I refer to them, they are not used. For example, in the following sitemap.xmap snippet, sitemap-resources-generators.xconf is not found despite of entities have been loaded. System tries to load them from sitemap.xmap location.

Sitemap snippet :

<!DOCTYPE sitemap [
<!ENTITY common-resources-generators PUBLIC "-//BlueXML//Common Sitemap Resource 1.0//Generators//XML" "sitemap-resources-generators.xconf"> <!ENTITY common-resources-serializers PUBLIC "-//BlueXML//Common Sitemap Resource 1.0//Serializers//XML" "sitemap-resources-serializers.xconf"> <!ENTITY common-views-debug PUBLIC "-//BlueXML//Common Sitemap View 1.0//Debug//XML" "sitemap-views-debug.xconf"> <!ENTITY common-pipeline-static PUBLIC "-//BlueXML//Common Sitemap Pipeline 1.0//Static//XML" "sitemap-pipeline-static.xconf">
]>

I may see while jetty is launching that the previous entities are correctly loaded. So, what's wrong ?

Is there another way intead of entities to factorize parts of sitemap ?

JC

Jean-Christophe Kermagoret a écrit :
Local catalogs seem loaded while launching Jetty but when using this entity later in a sitemap.xmap file, the entity is not loaded but w3c/catalog is loaded again.

Any ideas ?

Jean-Christophe Kermagoret a écrit :
Hi,
I saw in cocoon-xml-impl that CatalogManager.properties had a catalog property to load local catalogs.

I put the following :
catalogs=/opt/src/cocoon22/trunk/test2/common/src/main/resources/COB-INF/entities/catalog

Then I compile and install the new cocoon-xml-impl but local catalogs aren't loaded.

I can see w3c catalogs are loaded, but not local ones :
Loading catalog: file:/tmp/Jetty_0_0_0_0_8081_webapp____xvxh5t/cocoon_xml_resolver_entities/w3c/catalog

Any ideas ?





--
Jean-Christophe Kermagoret
Technological leader
OpenBlueLab : http://www.openbluelab.org

Reply via email to