cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@indexgeo.com.au>
Subject Re: cvs commit: xml-cocoon2/documentation cocoon.xconf
Date Tue, 27 Nov 2001 08:12:17 GMT
Giacomo wrote:
> Sorry, I thought it solves the problem. Can you explain what
> my change broke.

Hi Giacomo, i was just in the middle of preparing two emails
- one to explain this revert (and one where i think that i have
tracked down the problem).

When you changed the default path in cocoon.xconf to be
"resources/entities/catalog" rather than
"/resources/entities/catalog", then all that it did was to cause
the entity resolver to not be able to load the default catalog.
Raise the verbosity level to 3 in documentation/cocoon.xconf
to see the error (look for pattern "System Catalog URL is"
in the log messages).

This then causes build docs to proceed as if it had no entity
resolver, and when you get down to where it generates
xdocs/catalog-test.xml then you start getting errors about not
finding ISOnum.pen entity set.

When you have a leading / for the catalog file in xconf, then
at least the catalog loads properly and resolves the entities.
Of course then we are back to the old problem about file://
URLs from the entity resolver and subsequent messages
"Failed to create InputSource".

(My next posting is almost ready to explain where i think the
problem is.)

--David

> Quoting crossley@apache.org:
> 
> > crossley    01/11/26 22:22:57
> > 
> >   Modified:    documentation cocoon.xconf
> >   Log:
> >   Reverting from last change (which did not solve the issue, just made
> > the
> >   entity resolver break in a different way).
> >   
> >   Revision  Changes    Path
> >   1.6       +1 -1      xml-cocoon2/documentation/cocoon.xconf
> >   
> >   Index: cocoon.xconf
> >   ===================================================================
> >   RCS file: /home/cvs/xml-cocoon2/documentation/cocoon.xconf,v
> >   retrieving revision 1.5
> >   retrieving revision 1.6
> >   diff -u -r1.5 -r1.6
> >   --- cocoon.xconf	2001/11/26 22:50:45	1.5
> >   +++ cocoon.xconf	2001/11/27 06:22:57	1.6
> >   @@ -109,7 +109,7 @@
> >    
> >      -->
> >      <resolver
> > class="org.apache.cocoon.components.resolver.ResolverImpl">
> >   -   <parameter name="catalog" value="resources/entities/catalog"/>
> >   +   <parameter name="catalog" value="/resources/entities/catalog"/>
> >       <parameter name="verbosity" value="2"/>
> >      </resolver>
> >    
> >   
> >   
> >   
> > 
> > ----------------------------------------------------------------------
> > In case of troubles, e-mail:     webmaster@xml.apache.org
> > To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
> > For additional commands, e-mail: cocoon-cvs-help@xml.apache.org
> > 
> > 
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 
> 
> 

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


Mime
View raw message