Opened 14 years ago

Closed 14 years ago

#260 closed defect (invalid)

"Links" link not working

Reported by: osjonathan Owned by: geonetwork-devel@…
Priority: major Milestone: v2.6.0 RC1
Component: General Version: v2.6.0
Keywords: Cc:

Description

When i try the "Links" link in the banner bar the page returns: "The requested operation could not be performed.

TransformerConfigurationException : Failed to compile stylesheet. 2 errors detected."

The error log contains:

2010-07-28 14:51:52,312 INFO [jeeves.request] - HTML Request (from 127.0.0.1) : /geonetwork/srv/en/links 2010-07-28 14:51:52,312 DEBUG [jeeves.request] - Method : GET 2010-07-28 14:51:52,312 DEBUG [jeeves.request] - Content type : null 2010-07-28 14:51:52,312 DEBUG [jeeves.request] - Accept : text/html, application/xml;q=0.9, application/xhtml+xml, image/png, ima ge/jpeg, image/gif, image/x-xbitmap, */*;q=0.1 2010-07-28 14:51:52,312 DEBUG [jeeves.request] - Session id is y0h3fpu8w9i1 2010-07-28 14:51:52,312 INFO [jeeves.service] - Dispatching : links 2010-07-28 14:51:52,312 DEBUG [jeeves.service] - -> no input parameters 2010-07-28 14:51:52,312 INFO [jeeves.service] - -> dispatching to output for : links 2010-07-28 14:51:52,327 INFO [jeeves.service] - -> transforming with stylesheet : C:\Program Files\geonetwork\web\geonetwork/xsl/ page.xsl Error on line 156 column 15 of file:/C:/Program%20Files/geonetwork/web/geonetwork/xsl/banner.xsl:

SXXP0003: Error reported by XML parser: The entity "nbsp" was referenced, but not declared.

Error at xsl:call-template on line 10 of file:/C:/Program%20Files/geonetwork/web/geonetwork/xsl/page.xsl:

XTSE0650: No template exists named formLayout

2010-07-28 14:51:52,327 ERROR [jeeves.service] - -> exception during transformation for : links 2010-07-28 14:51:52,327 ERROR [jeeves.service] - -> (C) stylesheet : C:\Program Files\geonetwork\web\geonetwork/xsl/page.xsl 2010-07-28 14:51:52,327 ERROR [jeeves.service] - -> (C) message : Failed to compile stylesheet. 2 errors detected. 2010-07-28 14:51:52,327 ERROR [jeeves.service] - -> (C) exception : TransformerConfigurationException 2010-07-28 14:51:52,343 DEBUG [jeeves.service] - Raised exception while executing service <error id="error">

<message>Failed to compile stylesheet. 2 errors detected.</message> <class>TransformerConfigurationException</class> <stack>

<at class="net.sf.saxon.PreparedStylesheet" file="PreparedStylesheet.java" line="176" method="prepare" /> <at class="net.sf.saxon.TransformerFactoryImpl" file="TransformerFactoryImpl.java" line="139" method="newTemplates" /> <at class="de.fzi.dbs.xml.transform.CachingTransformerFactory" file="CachingTransformerFactory.java" line="115" method="newTransfor

mer" />

<at class="de.fzi.dbs.xml.transform.CachingTransformerFactory" file="CachingTransformerFactory.java" line="70" method="newTransform

er" />

<at class="jeeves.utils.Xml" file="Xml.java" line="231" method="transform" /> <at class="jeeves.utils.Xml" file="Xml.java" line="197" method="transform" /> <at class="jeeves.server.dispatchers.ServiceManager" file="ServiceManager.java" line="697" method="dispatchOutput" /> <at class="jeeves.server.dispatchers.ServiceManager" file="ServiceManager.java" line="402" method="dispatch" /> <at class="jeeves.server.JeevesEngine" file="JeevesEngine.java" line="624" method="dispatch" /> <at class="jeeves.server.sources.http.JeevesServlet" file="JeevesServlet.java" line="183" method="execute" />

</stack> <request>

<language>en</language> <service>links</service>

</request> <response />

</error> 2010-07-28 14:51:52,343 INFO [jeeves.service] - -> dispatching to error for : links 2010-07-28 14:51:52,343 INFO [jeeves.service] - -> transforming with stylesheet : C:\Program Files\geonetwork\web\geonetwork/xsl/ error.xsl 2010-07-28 14:51:52,359 INFO [jeeves.service] - -> end error transformation for : links 2010-07-28 14:51:52,359 INFO [jeeves.service] - -> error ended for : links

Change History (2)

comment:1 by osjonathan, 14 years ago

The "about" banner link also has this error.

comment:2 by osjonathan, 14 years ago

Resolution: invalid
Status: newclosed

Sorry, turns out I'd put an error in the banner.xsl file. No idea why this would break those pages in that manner though.

Note: See TracTickets for help on using tickets.