[GeoNetwork-devel] [GeoNetwork opensource Developer website] #1233: OGC WebServices harvester doesn't work in 2.8.x

#1233: OGC WebServices harvester doesn't work in 2.8.x
-----------------------+----------------------------------------------------
Reporter: josegar74 | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: blocker | Milestone: v2.8.0
Component: General | Version: v2.8.0RC2
Keywords: |
-----------------------+----------------------------------------------------
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

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1233&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.

Is this the same as ticket #910?
There is a patch for that. As far as I can tell that patch fixes the
problem. I was hoping that patch would make it into the 2.8 release. Can it
be included in 2.8.1? Or is there a problem with it?

Cheers,
Byron

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/GeoNetwork-opensource-Developer-website-1233-OGC-WebServices-harvester-doesn-t-work-in-2-8-x-tp5038842p5039263.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.

#1233: OGC WebServices harvester doesn't work in 2.8.x
------------------------+---------------------------------------------------
  Reporter: josegar74 | Owner: geonetwork-devel@…
      Type: defect | Status: closed
  Priority: blocker | Milestone: v2.8.0
Component: General | Version: v2.8.0RC2
Resolution: fixed | Keywords:
------------------------+---------------------------------------------------
Changes (by josegar74):

  * status: new => closed
  * resolution: => fixed

Comment:

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

Committed #910 in 2.8.x: 3fa78361173486c0352589cf30267bf8d028776b

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1233#comment:1&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.

#1233: OGC WebServices harvester doesn't work in 2.8.x
------------------------+---------------------------------------------------
  Reporter: josegar74 | Owner: geonetwork-devel@…
      Type: defect | Status: closed
  Priority: blocker | Milestone: v2.8.1
Component: General | Version: v2.8.0RC2
Resolution: fixed | Keywords:
------------------------+---------------------------------------------------
Changes (by ianwallen):

  * milestone: v2.8.0 => v2.8.1

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1233#comment:2&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.