[GeoNetwork-devel] [GeoNetwork opensource Developer website] #1018: Schematron does not always use net.sf.saxon.TransformerFactoryImpl

#1018: Schematron does not always use net.sf.saxon.TransformerFactoryImpl
---------------------+------------------------------------------------------
Reporter: fxp | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.9.0
Component: General | Version: v2.8.0RC0
Keywords: |
---------------------+------------------------------------------------------
During migration to git, saxon9.jar was removed from schematron folder. On
some configuration (Why ?), the wrong XSL transformer factory is used and
produce invalid XSL.

{{{
Error at xsl:attribute on line 171 column 16 of schematron-rules-iso.xsl:
   XTSE0010: Element must have a "name" attribute
}}}

To fix that, I propose to add to ant classpath saxon from maven_repo
folder and define the TransformerFactory in a custom jar.

{{{

<classpath>
   <pathelement location="../maven_repo/net/sf/saxon/saxon-dom/9.1.0.8b
/saxon-dom-9.1.0.8b.jar"/>
   <pathelement location="../maven_repo/net/sf/saxon/saxon/9.1.0.8b-
patch/saxon-9.1.0.8b-patch.jar"/>
   <pathelement location="saxonTransformer.jar"/>
</classpath>

}}}

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1018&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.

#1018: Schematron does not always use net.sf.saxon.TransformerFactoryImpl
----------------------+-----------------------------------------------------
  Reporter: fxp | Owner: geonetwork-devel@…
      Type: defect | Status: closed
  Priority: major | Milestone: v2.9.0
Component: General | Version: v2.8.0RC0
Resolution: fixed | Keywords:
----------------------+-----------------------------------------------------
Changes (by fxp):

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

Comment:

Commit: 9d5f75d835b8223e8074d7b7790bd317c2ccc6fe

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1018#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.