Jörn Nettingsmeier wrote:
hi everyone!
since moving to a tomcat deployment, i've had problems with the sitetree
generation code. when i click on the "site" tab, i get an alert saying
"Error: could not load response xml for url:
/lenya/soziologie/authoring/sitetree-fragment.xml?area=authoring&path=/index&language=de&initial=true&areas=authoring,trash,archive&lenya.module=sitetree"
the stacktrace i posted was probably a red herring. the real problem
surfaced when i tried the url from the error message above manually:
An error occured.
Unable to map "http://www.w3.org/2000/xmlns/"
org.apache.cocoon.ProcessingException: Unable to map
"http://www.w3.org/2000/xmlns/" at [SAXParseException] -
file:/srv/www/tomcat5/base/webapps/lenya/lenya/modules/sitetree/xslt/navigation/sitetree2nav.xsl:61:19
at <map:serialize type="xml"> -
file:/srv/www/tomcat5/base/webapps/lenya/lenya/modules/sitetree/sitemap.xmap:144:36
at <map:transform> -
file:/srv/www/tomcat5/base/webapps/lenya/lenya/modules/sitetree/sitemap.xmap:140:113
at <map:transform type="access-control-sitetree"> -
file:/srv/www/tomcat5/base/webapps/lenya/lenya/modules/sitetree/sitemap.xmap:132:55
the line in question is this:
<xsl:template match="tree:fragment">
<nav:fragment>
^^^^^^^^^^^^^^^^^^^
<xsl:copy-of select="@*"/>
<xsl:choose>
<xsl:when test="@base">
<xsl:apply-templates>
i.e. the moment the xsl processor tries a namespace mapping, it becomes
unhappy.
some googling turned up this:
http://mail-archives.apache.org/mod_mbox/lenya-user/200504.mbox/[EMAIL
PROTECTED]
so i double-checked my endorsed libs:
soz-131:/usr/share/tomcat5/common/endorsed # ls -1
.
..
[jaxp_parser_impl].jar
[xml-commons-apis].jar
jakarta-bcel-20040329.jar
jakarta-regexp-1.4.jar
xalan-2.7.0.jar
xercesImpl-2.8.1.jar
xml-apis-1.3.03.jar
soz-131:/usr/share/tomcat5/webapps/lenya/WEB-INF/lib/endorsed # ls -1
.
..
shared/ and server/ don't have any conflicting jars either.
any ideas?
tia,
jörn
--
"It's sad to behold how lately the wonderful English language has,
in the hands of corporate executives and marketing experts, re-
adjusted its prospective itinerary towards mythical subterranean
realms of discomfort, leveraging traditional woven containment
devices."
--
Jörn Nettingsmeier, EDV-Administrator
Institut für Politikwissenschaft
Universität Duisburg-Essen, Standort Duisburg
Mail: [EMAIL PROTECTED], Telefon: 0203/379-2736
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]