The propget tests send a request that looks like:
PROPFIND /fcfs_data/litmus/prop HTTP/1.1 Host: localhost:8081 User-Agent: litmus/0.10.1 neon/0.25.0-dev Connection: TE TE: trailers Depth: 0 Content-Length: 581 Content-Type: application/xml X-Litmus: props: 7 (propget)
<?xml version="1.0" encoding="utf-8"?> <propfind xmlns="DAV:"><prop> <prop0 xmlns="http://webdav.org/neon/litmus/"/> <prop1 xmlns="http://webdav.org/neon/litmus/"/> <prop2 xmlns="http://webdav.org/neon/litmus/"/> <prop3 xmlns="http://webdav.org/neon/litmus/"/> <prop4 xmlns="http://webdav.org/neon/litmus/"/> <prop5 xmlns="http://webdav.org/neon/litmus/"/> <prop6 xmlns="http://webdav.org/neon/litmus/"/> <prop7 xmlns="http://webdav.org/neon/litmus/"/> <prop8 xmlns="http://webdav.org/neon/litmus/"/> <prop9 xmlns="http://webdav.org/neon/litmus/"/> </prop></propfind>
The response is:
HTTP/1.1 400 Bad+Request%3A+Invalid+child+%5BNamespace%3A+prefix+%22%22+is+mapped+to+URI+%22DAV%3A%22%5D%3Afoobar+of+root+element+DAV%3Apropfind
Date: Wed, 12 Jan 2005 18:16:58 GMT
Server: Jetty/4.2.19 (Linux/2.4.20-31.9 i386 java/1.4.2_06)
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Set-Cookie: JSESSIONID=1gkn6uk9p0iiv;Path=/
Content-Type: text/html
Content-Length: 1468
<html>
<head>
<title>Error 400 Bad+Request%3A+Invalid+child+%5BNamespace%3A+prefix+%22%22+is+mapped+to+URI+%22DAV%3A%22%5D%3Afoobar+of+root+element+DAV%3Apropfind</title>
</head>
<body>
<h2>HTTP ERROR: 400 Bad+Request%3A+Invalid+child+%5BNamespace%3A+prefix+%22%22+is+mapped+to+URI+%22DAV%3A%22%5D%3Afoobar+of+root+element+DAV%3Apropfind</h2>
<p>RequestURI=/fcfs_data/litmus/prop</p>
<p><i><small><a href="http://jetty.mortbay.org">Powered by Jetty://</a></small></i></p>
</body> </html>
For those of you that can't read URL encoding, the message translates to:
Bad Request: Invalid child [Namespace: prefix "" is mapped to URI "DAV:"]:foobar of root element DAV:propfind
I'm using the default XML parser that comes with the Sun VM.
Any ideas? Is this a slide bug or a litmus bug? A quick google showed some valid WebDAV requests that look just like what litmus is sending.
Thanks -John
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
