Hi guys.
I've downloaded and compiled geonetwork from the CVS and I've seen a mistake with the CSW. I've added 3 metadata in my database that can be retrieved using the Z39.50 protocol, but when I send this CSW query:
<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' outputSchema="csw:IsoRecord" resultType="results">
<Query >
<ElementSetName>full</ElementSetName>
<Constraint version='1.1.0'>
<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
<ogc:Or>
<ogc:PropertyIsLike wildCard="*" singleChar="?" escape="\">
<ogc:PropertyName>Title</ogc:PropertyName>
<ogc:Literal>*a*</ogc:Literal>
</ogc:PropertyIsLike>
<ogc:PropertyIsLike wildCard="*" singleChar="?" escape="\">
<ogc:PropertyName>Abstract</ogc:PropertyName>
<ogc:Literal>*a*</ogc:Literal>
</ogc:PropertyIsLike>
</ogc:Or>
</ogc:Filter>
</Constraint>
</Query>
</GetRecords>
I receive this answer:
<csw:GetRecordsResponse xmlns:csw="http://www.opengis.net/cat/csw">
<csw:SearchStatus status="complete" />
<csw:SearchResults numberOfRecordsMatched="3" numberOfRecordsReturned="3" elementSet="full" />
</csw:GetRecordsResponse>
The numberOfRecordsMatched param is Ok, but the retrieved medatada aren't in the XML tree. It is a problem of the CVS version?
Regards.
--
Jorge Piera Llodra
Equipo de desarrollo gvSIG
Conselleria de Infraestructuras y Transporte
Generalitat Valenciana
Valencia - Spain
http://www.gvsig.gva.es