cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Morrison" <john.r.morri...@ntlworld.com>
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 [mailto:mchristensen@openlatitude.com]

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

> If no 'base' (http://www.w3.org/TR/xmlbase/) 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

<snip/>

> 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?

J.


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


Mime
View raw message