Hi,
I am having some problems querying the catalogue using CSW. I have metadata
with dc:title "hello" in the catalogue, if I search using the catalogue
portal it returns the correct entry, but if I perform the following CSW
query the catalogue returns nothing. Any ideas?
Thanks
<GetRecords service="http://www.opengis.net/cat/csw" version="2.0.1"
xmlns="http://www.opengis.net/cat/csw"
xmlns:ogc="http://www.opengis.net/ogc"
xmlns:gml="http://www.opengis.net/gml" startPosition='1'
maxRecords='10' resultType="results">
<csw:Query xmlns:csw="http://www.opengis.net/cat/csw">
<csw:Constraint version='1.1.0'>
<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
<ogc:PropertyIsLike wildCard="*"
singleChar="?"
escape="\">
<ogc:PropertyName>any</ogc:PropertyName>
<ogc:Literal>*hello*</ogc:Literal>
</ogc:PropertyIsLike>
</ogc:Filter>
</csw:Constraint>
</csw:Query>
</GetRecords>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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 Walter,
I tried your query and it works. In general, the web search is little different than
the csw one. For example, the web search is case insensitive. Maybe you used
the 'Hello' title (with uppercase) and searched for 'hello'.
Cheers,
Andrea
Hi,
I am having some problems querying the catalogue using CSW. I have metadata
with dc:title "hello" in the catalogue, if I search using the catalogue
portal it returns the correct entry, but if I perform the following CSW
query the catalogue returns nothing. Any ideas?
Thanks
<GetRecords service="http://www.opengis.net/cat/csw" version="2.0.1"
xmlns="http://www.opengis.net/cat/csw"
xmlns:ogc="http://www.opengis.net/ogc"
xmlns:gml="http://www.opengis.net/gml" startPosition='1'
maxRecords='10' resultType="results">
<csw:Query xmlns:csw="http://www.opengis.net/cat/csw">
<csw:Constraint version='1.1.0'>
<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
<ogc:PropertyIsLike wildCard="*"
singleChar="?"
escape="\">
<ogc:PropertyName>any</ogc:PropertyName>
<ogc:Literal>*hello*</ogc:Literal>
</ogc:PropertyIsLike>
</ogc:Filter>
</csw:Constraint>
</csw:Query>
</GetRecords>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork