Using the (default) fgsindex.uriResolver set to
dk.defxws.fedoragsearch.server.URIResolverImpl I'm having trouble getting
access to documents over http with the xslt document() function, I'm getting
a Java NPE.
This is using the basicFoxmlToLucene.xslt, using a modified version of the
"example-of-xml-not-inline" template.
It's as per this example, but using the base URL
http://localhost:8080/fedora/get in the concat function; ie
select="document(concat('http://localhost:8080/fedora/get/', $PID,
'/XML'))/some/path/to/element"
Commenting this line out of the index.properties file seems to solve the
problem.
Regards
Steve
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users