cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Morrison" <>
Subject RE: XInclude and base attribute
Date Thu, 03 Jan 2002 19:39:39 GMT
Which version are you using?

> -----Original Message-----
> From: Mitchell Christensen []

<snip/> :) (sorry, another thread)

> If no 'base' ( attribute is
> specified within a
> document to be processed by the XInclude transformer, the XInclude
> transformer assumes that the href value within the <xi:include/>
> element is
> a relative filename, and prepends the installation directory path ahead of
> the href value.  Unfortunately, I was using a full URL to an XML document
> (accessed via HTTP), and was getting a runtime exception.  The runtime
> exception was happening because the XInclude transformer was turning
> 'http://myhost/mydoc' into
> '/usr/local/tomcat/webapps/cocoon/http://myhost/mydoc'.  This
> resulted in a
> silent runtime exception, with no diagnostics and a couple of
> days to figure


> In retrospect, the lack of the xmlbase documentation was less of a problem
> than the fact the Cocoon thew an obtuse runtime exception with a bogus
> stacktrace.

How was the stacktrace bogus?


To unsubscribe, e-mail:
For additional commands, email:

View raw message