You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Guido Casper <gc...@s-und-n.de> on 2004/10/08 17:14:30 UTC
Re: problem with dasl query
Are you using Tomcat? I THINK this may be caused by wrong version of XML
libraries. Try putting Cocoon's xalan, xerces and xml-api jars into
endorsed lib directory.
HTH
Guido
Francois Jannin wrote:
> Hi all,
>
> I want to make DASL queries following the cocoon 2.1 samples and I got a
> NullPointerException in return.
>
> my sample-based query looks like :
>
> <dasl:query xmlns:dasl="http://cocoon.apache.org/webdav/dasl/1.0"
> target="webdav://localhost:8080/slide/">
> <D:searchrequest xmlns:D="DAV:">
> <D:basicsearch>
> <D:select>
> <D:allprop/>
> </D:select>
> <D:from>
> <D:scope>
> <D:href>slide</D:href>
> <D:depth>infinity</D:depth>
> </D:scope>
> </D:from>
> </D:basicsearch>
> </D:searchrequest>
> </dasl:query>
>
> And in my sitemap :
>
> <map:match pattern="DASLProp">
> <map:generate src="context://injac/queries/test-dasl.xml" />
> <map:transform type="dasl" />
> <map:serialize type="xml"/>
> </map:match>
>
> Exception message is not very explicit :
>
> org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
> org.apache.cocoon.ProcessingException: Could not read resource
> file:/E:/Java/jakarta-tomcat-5.0.28/webapps/cocoon/injac/queries/test-dasl.xml:
> java.lang.NullPointerException
>
>
> Thanks for any suggestions, i'm really stuck.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org