Apply XSLT conversion - ERROR

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Apply XSLT conversion - ERROR

BartV
Hi all,
I'm tryng to set the XSLT conversion from ISO19139  to ISO19115-3.2018

I saved the xsl file in the folder
/root/core-geonetwork/web/src/main/webapp/xsl/conversion/import/fromISO19139.xsl

I also put the folder
/root/core-geonetwork/web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19115-3.2018/convert/ISO19139/
Here:
/root/core-geonetwork/web/src/main/webapp/xsl/conversion/


But I got this error:

Error at xsl:call-template on line 105 column 63 of fromISO19139.xsl:
  XTSE0650: No template exists named getNamespacePrefix
Error at xsl:call-template on line 110 column 75 of fromISO19139.xsl:
  XTSE0650: No template exists named add-iso19115-3.2018-namespaces
Error at xsl:call-template on line 205 column 91 of fromISO19139.xsl:
  XTSE0650: No template exists named writeCharacterStringElement
Error at xsl:call-template on line 227 column 83 of fromISO19139.xsl:
  XTSE0650: No template exists named writeCharacterStringElement
Error at xsl:call-template on line 251 column 67 of fromISO19139.xsl:
  XTSE0650: No template exists named writeCharacterStringElement
Error at xsl:call-template on line 266 column 79 of fromISO19139.xsl:
  XTSE0650: No template exists named writeCharacterStringElement

Is there something I'm still missing or doing wrong?

Thanks in advance

Bartolomeo

Bartolomeo Ventura, PhD
Eurac Research
Institute for Earth Observation
T +39 0471 055 374
F +39 0471 055 389
[hidden email]<mailto:[hidden email]>

Viale Druso 1
I-39100 Bolzano
www.eurac.edu<http://www.eurac.edu/>


_______________________________________________
GeoNetwork-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
Reply | Threaded
Open this post in threaded view
|

Re: Apply XSLT conversion - ERROR

Francois Prunayre
Hi,

Add `ISO19139-to-ISO19115-3-2018.xsl` and
`ISO19115-3-2014-to-ISO19115-3-2018.xsl` to the
`/web/src/main/webapp/xsl/conversion/import` folder.

HTH

Francois


Le mer. 15 mai 2019 à 16:58, Ventura Bartolomeo <
[hidden email]> a écrit :

> Hi all,
> I'm tryng to set the XSLT conversion from ISO19139  to ISO19115-3.2018
>
> I saved the xsl file in the folder
>
> /root/core-geonetwork/web/src/main/webapp/xsl/conversion/import/fromISO19139.xsl
>
> I also put the folder
>
> /root/core-geonetwork/web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19115-3.2018/convert/ISO19139/
> Here:
> /root/core-geonetwork/web/src/main/webapp/xsl/conversion/
>
>
> But I got this error:
>
> Error at xsl:call-template on line 105 column 63 of fromISO19139.xsl:
>   XTSE0650: No template exists named getNamespacePrefix
> Error at xsl:call-template on line 110 column 75 of fromISO19139.xsl:
>   XTSE0650: No template exists named add-iso19115-3.2018-namespaces
> Error at xsl:call-template on line 205 column 91 of fromISO19139.xsl:
>   XTSE0650: No template exists named writeCharacterStringElement
> Error at xsl:call-template on line 227 column 83 of fromISO19139.xsl:
>   XTSE0650: No template exists named writeCharacterStringElement
> Error at xsl:call-template on line 251 column 67 of fromISO19139.xsl:
>   XTSE0650: No template exists named writeCharacterStringElement
> Error at xsl:call-template on line 266 column 79 of fromISO19139.xsl:
>   XTSE0650: No template exists named writeCharacterStringElement
>
> Is there something I'm still missing or doing wrong?
>
> Thanks in advance
>
> Bartolomeo
>
> Bartolomeo Ventura, PhD
> Eurac Research
> Institute for Earth Observation
> T +39 0471 055 374
> F +39 0471 055 389
> [hidden email]<mailto:[hidden email]>
>
> Viale Druso 1
> I-39100 Bolzano
> www.eurac.edu<http://www.eurac.edu/>
>
>
> _______________________________________________
> GeoNetwork-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/geonetwork-users
> GeoNetwork OpenSource is maintained at
> http://sourceforge.net/projects/geonetwork
>

_______________________________________________
GeoNetwork-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
Reply | Threaded
Open this post in threaded view
|

Re: Apply XSLT conversion - ERROR

BartV
Hi,
It works even if the output is not fully validated (but the errors are the usual ones and I should be able to fix them)

I also realized that the suggestion you wrote was in the README page. Sorry for the useless question!

All the best,
Bartolomeo

From: Francois Prunayre <[hidden email]>
Sent: Thursday, May 16, 2019 09:29
To: Ventura Bartolomeo <[hidden email]>
Cc: [hidden email]
Subject: Re: [GeoNetwork-users] Apply XSLT conversion - ERROR

Hi,

Add `ISO19139-to-ISO19115-3-2018.xsl` and `ISO19115-3-2014-to-ISO19115-3-2018.xsl` to the `/web/src/main/webapp/xsl/conversion/import` folder.

HTH

Francois


Le mer. 15 mai 2019 à 16:58, Ventura Bartolomeo <[hidden email]<mailto:[hidden email]>> a écrit :
Hi all,
I'm tryng to set the XSLT conversion from ISO19139  to ISO19115-3.2018

I saved the xsl file in the folder
/root/core-geonetwork/web/src/main/webapp/xsl/conversion/import/fromISO19139.xsl

I also put the folder
/root/core-geonetwork/web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19115-3.2018/convert/ISO19139/
Here:
/root/core-geonetwork/web/src/main/webapp/xsl/conversion/


But I got this error:

Error at xsl:call-template on line 105 column 63 of fromISO19139.xsl:
  XTSE0650: No template exists named getNamespacePrefix
Error at xsl:call-template on line 110 column 75 of fromISO19139.xsl:
  XTSE0650: No template exists named add-iso19115-3.2018-namespaces
Error at xsl:call-template on line 205 column 91 of fromISO19139.xsl:
  XTSE0650: No template exists named writeCharacterStringElement
Error at xsl:call-template on line 227 column 83 of fromISO19139.xsl:
  XTSE0650: No template exists named writeCharacterStringElement
Error at xsl:call-template on line 251 column 67 of fromISO19139.xsl:
  XTSE0650: No template exists named writeCharacterStringElement
Error at xsl:call-template on line 266 column 79 of fromISO19139.xsl:
  XTSE0650: No template exists named writeCharacterStringElement

Is there something I'm still missing or doing wrong?

Thanks in advance

Bartolomeo

Bartolomeo Ventura, PhD
Eurac Research
Institute for Earth Observation
T +39 0471 055 374
F +39 0471 055 389
[hidden email]<mailto:[hidden email]><mailto:[hidden email]<mailto:[hidden email]>>

Viale Druso 1
I-39100 Bolzano
www.eurac.edu<http://www.eurac.edu><http://www.eurac.edu/>


_______________________________________________
GeoNetwork-users mailing list
[hidden email]<mailto:[hidden email]>
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

_______________________________________________
GeoNetwork-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork