cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robby Pelssers" <robby.pelss...@ciber.com>
Subject RE: how-to use xml catalog with apache cocoon 2.2
Date Tue, 25 May 2010 14:50:09 GMT
Thx Jos,

Your mail at least gives me some more insight into its usage ... I'll probably start next
week on implementation and I'll drop a few lines if I get stuff working.

Thx for the input,
Robby

-----Original Message-----
From: Jos Snellings [mailto:Jos.Snellings@pandora.be] 
Sent: Tuesday, May 25, 2010 4:40 PM
To: users@cocoon.apache.org
Subject: Re: how-to use xml catalog with apache cocoon 2.2

Hi Robby,

I have in cocoon.xconf:
  <parameter name="catalog" value="/resources/entities/catalog"/>^M
    However, it is probably desirable to leave this default catalog
config
    and declare your own local catalogs, which are loaded in addition to
    the system catalog.
    There are various ways to do local configuration (see "Entity
Catalogs"
    documentation). One way is via the CatalogManager.properties file.
    As an additional method, you can specify the "local-catalog"
parameter here.

    local-catalog:
    The full filesystem pathname to a single local catalog file.^M
   <parameter name="local-catalog" value="/usr/local/sgml/mycatalog"/>
    verbosity:
    The level of messages for status/debug (messages go to standard
output)^M
    The following messages are provided ...^M
     0 = none^M
     1 = ? (... not sure yet)^M
     2 = 1+, Loading catalog, Resolved public, Resolved system^M
     3 = 2+, Catalog does not exist, resolvePublic, resolveSystem^M
     10 = 3+, List all catalog entries when loading a catalog^M
    (Cocoon also logs the "Resolved public" messages.) ^M
    TODO: determine all messages at each level^M
   <parameter name="verbosity" value="2"/>^M

In addition, under webapp/WEB-INF/classes, there is
CatalogManager.properties, it looks like:
-----------------------------------------------------
verbosity=1
# default
#  from webapps/cocoon/resources/entities/catalog^
# use full pathnames^M
# pathname separator is always semi-colon (;) regardless of operating
system^M
# directory separator is always slash (/) regardless of operating
system^M
#^M
#catalogs=/path/to/local/catalog
catalogs=/usr/local/catalina/webapps/sdx/herein.catalog
prefer=public
static-catalog=yes
allow-oasis-xml-catalog-pi=yes

And my catalog is in the web root of the application.

Hope this helps,
Jos





On Tue, 2010-05-25 at 12:14 +0200, Robby Pelssers wrote:
> Hi all,
> 
> Just wondering if we have some online documentation explaining how to configure Cocoon
for using xml catalogs.
> 
> Kind regards,
> Robby



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org

Mime
View raw message