Hi,

Can someone tell me what is wrong?

I have this dasl query:

<d:searchrequest xmlns:dav="DAV:" xmlns:d="DAV:"
    xmlns:s="http://jakarta.apache.org/slide/";
    xmlns:h="http://hippo.nl/cms/1.0";>
    <d:basicsearch>
        <d:select>
            <d:prop>
                <s:nrHits />
                <h:publicatiedatum />
                <h:taxonomie />
            </d:prop>
        </d:select>
        <d:from>
            <d:scope>
                <d:href>content/nieuws</d:href>
                <d:depth>infinity</d:depth>
            </d:scope>
        </d:from>
        <d:where>
            <d:and>
                <d:not-is-collection />
                <s:strict-property-contains>
                    <d:prop>
                        <h:taxonomie />
                    </d:prop>
                    <d:literal>x/y/z</d:literal>
                </s:strict-property-contains>
            </d:and>
        </d:where>
        <d:orderby>
            <d:order>
                <d:prop>
                    <h:publicatiedatum />
                </d:prop>
                <d:descending />
            </d:order>
        </d:orderby>
        <d:limit>
            <d:nresults>10</d:nresults>
            <s:offset>0</s:offset>
        </d:limit>
    </d:basicsearch>
</d:searchrequest>


I want to compare the given literal (x/y/z) to the property taxonomie. This
property can have comma-separeted strings.
In extractors.xml I used:

        <extractor
classname="nl.hippo.slide.extractor.HippoMultiValueXMLPropertyExtractor"
uri="/files/default.preview/content/nieuws" content-type="text/xml">
                <configuration>
                        <instruction property="taxonomie" namespace="
http://hippo.nl/cms/1.0"; xpath="/root/taxonomie/text()"/>
                </configuration>
        </extractor>

I get an error trying to run this dasl.
In webdav-search tool I get the following error message:


<?xml version="1.0" encoding="UTF-8"?><D:multistatus xmlns:D="DAV:">
    <D:response>
        <D:href>/default</D:href>
        <D:status>HTTP/1.1 400 Bad Request</D:status>
        <D:responsedescription>Factory: Uncomparable expression
'strict-property-contains' for property 'taxonomie'.</D:responsedescription>
    </D:response>
</D:multistatus>




Thanks in advance!

Wilson
********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html

Reply via email to