Hi Michael,
Are you sure metadata you retrieve are in a well known schema (iso19139,
dublin-core or fgdc, not in a specific iso profile ?), and is there a
corresponding stylesheet to perform the transformation for result (ie brief,
summary or full).
Indeed, the stylesheet path used for transformation is defined using the
metadata schema. It should be a reason why you get this exception with the
request and you d'ont get with another one.
In any case, the exception you're getting is coming from the
SearchController.java file, in the retrieveMetadata method.
I suspect a such problem but maybe I'm wrong.
thanks for let me know what's the problem.
HTH,
Cheers,
Mathieu
On Fri, Jan 16, 2009 at 8:58 AM, <Michael.Stegherr@anonymised.com> wrote:
Hi,
I installed the BlueNet MEST version of GeoNetwork with the included sample
data. I tried to create some test queries with the CSW test application to
get familiarized with CSW.
I'm using the 'filter-example.xml' file as it is except changing lines 6
and 7 to that:
<PropertyName>any</PropertyName>
<Literal>%aus%</Literal>
When I'm setting the Result type to 'hits', I get 10 matching records. But
when I set it to 'results' I get an exception:
Exception : org.fao.geonet.csw.common.exceptions.NoApplicableCodeEx:
code=NoApplicableCode, locator=null, message=Rised exception while getting
metadata :javax.xml.transform.TransformerConfigurationException: Failed to
compile stylesheet. 1 error detected.
But that doensn't happen always. For example, if I'm changing the search
string to %camera%, it works correctly. 'hits' will display 1 matching
record, and 'results' will produce the expected record.
Can someone explain this behavior?
Many thanks,
Michael
--
Michael Stegherr <Michael.Stegherr@anonymised.com>
Software Engineer, CSIRO Exploration and Mining
AARC (Australian Resources Research Centre)
26 Dick Perry Ave, Kensington WA 6151, Australia
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
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
--
Mathieu Coudert
mcoudert@anonymised.com