[GeoNetwork-users] GNO 2.4 problem with thesaurus and keywords list

Hi list,

I have installed the new version of GNO (with the .jar file) which is very
nice!
Unfortunately I have some problems with thesaurus and the keyword list.

In the advanced search when I click in the keywords field to view the
Keywords list, i get the following message (cf. image bellow):
The requested operation could not be performed
XpathException : Unsupported HTML version 1.0

http://n2.nabble.com/file/n3297153/bug_GNO.jpg

An other problem which seems to be related is with the thesaurus.
Words of the thesaurus regions.rdf don't show up while i'm typing in the
Keywords field. And when I press on the search button I get the following:
(cf. image bellow)

Unsupported HTML version: 1.0 XPathException en
keywords.search false 0 Albania
http://geonetwork-opensource.org/regions#3 false 1 Svalbard Is
http://geonetwork-opensource.org/regions#260 external.place.regions
consult

http://n2.nabble.com/file/n3297153/bug2_GNO.jpg

So it finds the correct words (albania and svalbard) but still have the
problem (Unsupported HTML version: 1.0).

Has anyone have an idea of way to correct the problem? I have installed v
2.4 on vista an XP and in both cases have that problem.

Thanks.
Pierre
--
View this message in context: http://n2.nabble.com/GNO-2.4-problem-with-thesaurus-and-keywords-list-tp3297153p3297153.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

Dear Pierre/List

Can confirm I get the same error. I am using Win XP-SP3 with IE7, basic install with Jetty/McKoi.
I tried using Firefox 3.0.11 to see if it was was browser dependant but same problem.

Also get same error in the editor when adding a new keyword element and starting
to type the keyword in. When doing this I get the error window popping up with 'XpathException : Unsupported HTML version 1.0' as you got and also a Javascript error popup (I am
uisng IE7 with Javascript error turned on) which said:

Line:179
Char:5
Error: 'autocompleteIndex' is null or not an object
code:0
URL:http://localhost:8080/geonetwork/srv/en/metadata.update

Hope this helps....

Andrew Walsh

----- Original Message ----- From: "pierre vernier" <pierre.vernier@anonymised.com>
To: <geonetwork-users@lists.sourceforge.net>
Sent: Wednesday, July 22, 2009 10:27 AM
Subject: [GeoNetwork-users] GNO 2.4 problem with thesaurus and keywords list

Hi list,

I have installed the new version of GNO (with the .jar file) which is very
nice!
Unfortunately I have some problems with thesaurus and the keyword list.

In the advanced search when I click in the keywords field to view the
Keywords list, i get the following message (cf. image bellow):
The requested operation could not be performed
XpathException : Unsupported HTML version 1.0

http://n2.nabble.com/file/n3297153/bug_GNO.jpg

An other problem which seems to be related is with the thesaurus.
Words of the thesaurus regions.rdf don't show up while i'm typing in the
Keywords field. And when I press on the search button I get the following:
(cf. image bellow)

Unsupported HTML version: 1.0 XPathException en keywords.search false 0 Albania http://geonetwork-opensource.org/regions#3 false 1 Svalbard Is http://geonetwork-opensource.org/regions#260 external.place.regions consult

http://n2.nabble.com/file/n3297153/bug2_GNO.jpg

So it finds the correct words (albania and svalbard) but still have the
problem (Unsupported HTML version: 1.0).

Has anyone have an idea of way to correct the problem? I have installed v
2.4 on vista an XP and in both cases have that problem.

Thanks.
Pierre
--
View this message in context: http://n2.nabble.com/GNO-2.4-problem-with-thesaurus-and-keywords-list-tp3297153p3297153.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

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

Hi Pierre,
same problem here using GN 2.4 on Ubuntu Server with Tomcat and PostgreSQL.
The same error happen when adding keyword search in a new metadata, but this time only with IE.

Bye
Luca

pierre vernier ha scritto:

Hi list,

I have installed the new version of GNO (with the .jar file) which is very
nice!
Unfortunately I have some problems with thesaurus and the keyword list.

In the advanced search when I click in the keywords field to view the
Keywords list, i get the following message (cf. image bellow):
The requested operation could not be performed
XpathException : Unsupported HTML version 1.0

http://n2.nabble.com/file/n3297153/bug_GNO.jpg

An other problem which seems to be related is with the thesaurus.
Words of the thesaurus regions.rdf don't show up while i'm typing in the
Keywords field. And when I press on the search button I get the following:
(cf. image bellow)

Unsupported HTML version: 1.0 XPathException en keywords.search false 0 Albania http://geonetwork-opensource.org/regions#3 false 1 Svalbard Is http://geonetwork-opensource.org/regions#260 external.place.regions consult

http://n2.nabble.com/file/n3297153/bug2_GNO.jpg

So it finds the correct words (albania and svalbard) but still have the
problem (Unsupported HTML version: 1.0).

Has anyone have an idea of way to correct the problem? I have installed v
2.4 on vista an XP and in both cases have that problem.

Thanks.
Pierre
  
--
ME Luca Casagrande
Open Source GIS analyst and developer

Gfosservices SA

http://www.gfosservices.com
skype: lucacasagrande
email: luca.casagrande[at]gmail.com

pierre vernier wrote:

Unfortunately I have some problems with thesaurus and the keyword list.

...

XpathException : Unsupported HTML version 1.0

Well, the files:
web/geonetwork/xsl/thesaurus-autosearchlist.xsl
web/geonetwork/xsl/thesaurus-keywordlist.xsl
web/geonetwork/xsl/thesaurus-search-results.xsl

each contain the line:
<xsl:output method='html' version='1.0' encoding='UTF-8' indent='yes'/>

It seems this is another example of
Saxon being pickier than Xalan.

[I noted the switch from Xalan to
Saxon when it happened and wondered if this
switch was accompanied by a thorough
check of the behaviour of every single
XSLT script. Now I have my answer . . . .]

The fix is to remove
version='1.0'
from the xsl:output declaration.

Who knows what else is lurking?

--
Richard Walker
Software Improvements Pty Ltd
Phone: +61 2 6273 2055
Fax: +61 2 6273 2082

Hi Richard,

Problem solved thanks to you!
That's an easy bug to fix (when you know the reason) but quite disturbing.
Hope it will be fixed in the installation files.

Pierre

Software Improvements gn-users wrote:

pierre vernier wrote:

Unfortunately I have some problems with thesaurus and the keyword list.

...

XpathException : Unsupported HTML version 1.0

Well, the files:
web/geonetwork/xsl/thesaurus-autosearchlist.xsl
web/geonetwork/xsl/thesaurus-keywordlist.xsl
web/geonetwork/xsl/thesaurus-search-results.xsl

each contain the line:
<xsl:output method='html' version='1.0' encoding='UTF-8' indent='yes'/>

It seems this is another example of
Saxon being pickier than Xalan.

[I noted the switch from Xalan to
Saxon when it happened and wondered if this
switch was accompanied by a thorough
check of the behaviour of every single
XSLT script. Now I have my answer . . . .]

The fix is to remove
version='1.0'
from the xsl:output declaration.

Who knows what else is lurking?

--
Richard Walker
Software Improvements Pty Ltd
Phone: +61 2 6273 2055
Fax: +61 2 6273 2082

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

--
View this message in context: http://n2.nabble.com/GNO-2.4-problem-with-thesaurus-and-keywords-list-tp3297153p3303521.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.