Byron,
Looking at the logs, I can see that the error is occurring because more than one label is selected via an xpath from the labels.xml file used by the iso19139.anzlic schema. (The labels.xml file is used to display the user friendly name of an XML element in context.)
Along with the recent simplification of plugin schemas etc, this is a good opportunity to reorganize this file (and the codelists.xml file) as they should only have ANZLIC specific overrides (eg. from ANZLIC metadata guidelines or extra codelist elements in ANZLIC jurisdiction eg scope codes) for the base iso19139 (ISO19115/19139) schema. I've done that by slimming them down in preparation for any ANZLIC specific overrides to be added later.
Cheers,
Simon
PS: At a guess I'd say the error disappeared recently because the labels file probably wasn't being picked up at all following the change from two letter to three letter language codes.
________________________________________
From: ByronCinNZ [cochranes4@anonymised.com]
Sent: Friday, 13 April 2012 7:57 AM
To: geonetwork-devel@lists.sourceforge.net
Subject: [GeoNetwork-devel] XPath exception in ANZLIC Profile Package view - New GUI
Hello,
I am getting a xpath expression error whenever I try to view an ANZLIC
profile metadata record in "Package View". I am using my own build of the
GeoNetwork from the latest trunk (2.7) and have set the view in
config-gui.xml to use the new widgets interface. I loaded the ANZLIC Plugin
schema with no problem other than this error when I switch to package view:
http://osgeo-org.1560.n6.nabble.com/file/n4866344/GN-Error.png
I have noticed this error for several months, but about a week ago it
disappeared for some unknown reason - I assumed that a fix had been made to
the ANZLIC plugin schema. Now it is back. I am not sure if there is
something I am doing wrong (other schema dependencies or such?) or if this
is truly a bug.
Please advise.
Byron Cochrane
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/XPath-exception-in-ANZLIC-Profile-Package-view-New-GUI-tp4866344p4866344.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork