Login | Register
My pages Projects Community openCollabNet

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Catacomb] Non DAV namespace properties in DASL searches



Hi, I was hoping to use the DASL search capabilities in catacomb to select items in the repository based on custom properties, but every time I add one of our namespaced properties to the DASL search request I get a 500 server error.  Am I doing something wrong, or does this not yet work in catacomb?

 

<!—example DASL query à

<?xml version="1.0"?>

<D:searchrequest xmlns:lp0="DAV:" xmlns:lp1="http://apache.org/dav/props/" xmlns:LAT="http://lat-inc.com/latsco/meta" xmlns:ns3="http://lat-inc.com/latsco/meta" xmlns:D="DAV:">

            <D:basicsearch>

                        <D:select>

                                    <D:allprop/>

                        </D:select>

                        <D:from>

                                    <D:scope>

                                                <D:href>/repos/scorm/FIPSE/lat/QTI_TEST/lesson.xml/</D:href>

                                                <D:depth>infinity</D:depth>

                                    </D:scope>

                        </D:from>

                        <D:where>

                                    <D:or>

<!—breaks when I have this like statement in here à

                                                <D:like>

                                                            <D:prop><ns3:title/></D:prop>

                                                            <D:literal>%mahan%</D:literal>

                                                </D:like>

                                                <D:gt>

                                                            <D:prop><D:getcontentlength/></D:prop>

                                                            <D:literal>0</D:literal>

                                                </D:gt>

                                                <D:like>

                                                            <D:prop><D:getcontenttype/></D:prop>

                                                            <D:literal>%xml%</D:literal>

                                                </D:like>

                                    </D:or>

                        </D:where>

            </D:basicsearch></D:searchrequest>

 

Any help would be appreciated.

 

Thanks, Ben