Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#1233 closed defect (fixed)

OGC WebServices harvester doesn't work in 2.8.x

Reported by: josegar74 Owned by: geonetwork-devel@…
Priority: blocker Milestone: v2.8.1
Component: General Version: v2.8.0RC2
Keywords: Cc:

Description

Configuring a WMS harvester and running it returns:

javax.xml.transform.TransformerConfigurationException

In the log:

Error at xsl:include on line 3 column 117 of OGCWMSGetCapabilities-to-ISO19119_ISO19139.xsl:
  XTSE0165: java.io.FileNotFoundException:
  ../geonetwork/WEB-INF/data/xsl/conversion/OGCWxSGetCapabilitiesto19119/OGCWxSGetCapabilities-to-19119.xsl (No such file or directory)
2013-03-06 18:55:18,903 WARN  [geonetwork.harvester] - Raised exception while harvesting from : catastro (OgcWxSHarvester)
2013-03-06 18:55:18,903 WARN  [geonetwork.harvester] -  (C) Class   : TransformerConfigurationException
2013-03-06 18:55:18,903 WARN  [geonetwork.harvester] -  (C) Message : Failed to compile stylesheet. 1 error detected.
javax.xml.transform.TransformerConfigurationException: Failed to compile stylesheet. 1 error detected.
	at net.sf.saxon.PreparedStylesheet.prepare(PreparedStylesheet.java:176)
	at net.sf.saxon.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:139)

Seem expects xsl files in WEB-INF/data/xsl

If copying this folder manually, no more that error, but then:

Root element not set

Didn't test in 2.9.x

Change History (2)

comment:1 by josegar74, 12 years ago

Resolution: fixed
Status: newclosed

Related to #910 (seem was only committed in master branch).

Committed #910 in 2.8.x: 3fa78361173486c0352589cf30267bf8d028776b

comment:2 by ianwallen, 12 years ago

Milestone: v2.8.0v2.8.1
Note: See TracTickets for help on using tickets.