You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Gavin Carothers <gc...@amesondemand.com> on 2005/10/05 21:52:32 UTC
WebDAV issue in 2.1.8
Hi, getting rather odd behavior from the webdav source.
Simplified pipeline:
<map:pipeline>
<map:match pattern="test">
<map:generate type="xpathtraverse" src="webdav://management2/toc-repo/">
<map:parameter name="depth" value="10"/>
</map:generate>
<map:serialize type="xml"/>
</map:match>
</map:pipeline>
result:
<?xml version="1.0" encoding="ISO-8859-1"?>
<collection:collection
xmlns:collection="http://apache.org/cocoon/collection/1.0" name="toc-repo"
uri="webdav://management2/toc-repo/" lastModified="1128541425000"
date="10/5/05 3:43 PM"
size="-1" sort="name" reverse="false" requested="true">
<collection:collection name="toc-repo"
uri="webdav://management2/toc-repo/toc-repo/"
lastModified="1128541425000" date="10/5/05 3:43 PM" size="-1">
<collection:collection name="toc-repo"
uri="webdav://management2/toc-repo/toc-repo/toc-repo/"
lastModified="1128541425000"
date="10/5/05 3:43 PM" size="-1">
<collection:collection name="toc-repo"
uri="webdav://management2/toc-repo/toc-repo/toc-repo/toc-repo/"
lastModified="1128541425000" date="10/5/05 3:43 PM"
size="-1"/>
</collection:collection>
</collection:collection>
</collection:collection>
That is clearly not the content of the webdav server. Tested the webdav server
(SVN) with cadaver just to be sure.
gavin@macduff:~$ cadaver http://management2/toc-repo/
dav:/toc-repo/> ls
Listing collection `/toc-repo/': succeeded.
Coll: > editable 0 Oct 5 15:19
Coll: > final 0 Oct 5 15:20
dav:/toc-repo/>
Any thoughts on why this is happening and what I can do to get it to work?
Other details:
Ubuntu5.04
JDK 5.0
Cheers,
Gavin
--
This email is: [X] actionable [ ] fyi [ ] social
Response needed: [X] yes [ ] up to you [ ] no
Time-sensitive: [ ] immediate [X] soon [ ] none
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: WebDAV issue in 2.1.8
Posted by Gavin Carothers <gc...@amesondemand.com>.
On Friday 14 October 2005 6:40 pm, Joerg Heinicke wrote:
> On 13.10.2005 17:06, Jean-Baptiste Quenot wrote:
> >> <map:generate type="xpathtraverse"
> >> src="webdav://management2/toc-repo/">
> >
> > What is xpathtraverse?
>
> XPathTraversableGenerator
Yep. I was hoping the infinitely deep collection bug/problem was related to
the webdav server, in this case subversion-1.1.2, but having updated to
subversion-1.2.0 and tested it with litmus[1] I'm reasonably sure that the
server isn't the problem. I have no trouble navigating the webdav server with
both cadaver and Konqueror.
As a side question, how is should caching a done with
XPathTraversableGenerator and a webdav source? At the moment it seems not to
do any at all as with 300 files in the directory it takes 24791ms on average
to list them all. Is there some switch I need to flip? Or does it simply not
cache?
--Gavin
[1] http://www.webdav.org/neon/litmus/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: WebDAV issue in 2.1.8
Posted by Joerg Heinicke <jo...@gmx.de>.
On 13.10.2005 17:06, Jean-Baptiste Quenot wrote:
>> <map:generate type="xpathtraverse" src="webdav://management2/toc-repo/">
>
> What is xpathtraverse?
XPathTraversableGenerator
Jörg
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: WebDAV issue in 2.1.8
Posted by Jean-Baptiste Quenot <jb...@anyware-tech.com>.
* Gavin Carothers:
> Hi, getting rather odd behavior from the webdav source.
>
> Simplified pipeline:
>
> <map:pipeline>
> <map:match pattern="test">
> <map:generate type="xpathtraverse" src="webdav://management2/toc-repo/">
Hello,
What is xpathtraverse?
--
Jean-Baptiste Quenot
Systèmes d'Information
ANYWARE TECHNOLOGIES
Tel : +33 (0)5 61 00 52 90
Fax : +33 (0)5 61 00 51 46
http://www.anyware-tech.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org