Skip to content
This repository was archived by the owner on Mar 14, 2025. It is now read-only.

Commit f1c0511

Browse files
corrected malformed xml namespace
1 parent 5d5eb05 commit f1c0511

File tree

3 files changed

+42
-42
lines changed

3 files changed

+42
-42
lines changed
Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" ?>
2-
<d:multistatus xmlns:d="DAV:">
2+
<D:multistatus xmlns:D="DAV:">
33
<D:response>
44
<D:href>/User7de989b/asdasdasd/d/OC/</D:href>
55
<D:propstat>
@@ -13,23 +13,23 @@
1313
<D:status>HTTP/1.1 200 OK</D:status>
1414
</D:propstat>
1515
</D:response>
16-
<d:response>
17-
<d:href>/User7de989b/asdasdasd/d/OC/DYNTZMMHWLW25RZHWYEDHLFWIUZZG2/</d:href>
18-
<d:propstat>
19-
<d:status>HTTP/1.1 200 OK</d:status>
20-
<d:prop>
21-
<d:resourcetype>
22-
<d:collection />
23-
</d:resourcetype>
24-
<d:getlastmodified>Thu, 30 Mar 2017 10:14:39 GMT</d:getlastmodified>
25-
</d:prop>
26-
</d:propstat>
27-
<d:propstat>
28-
<d:status>HTTP/1.1 404 Not Found</d:status>
29-
<d:prop>
30-
<d:collection></d:collection>
31-
<d:getcontentlength></d:getcontentlength>
32-
</d:prop>
33-
</d:propstat>
34-
</d:response>
35-
</d:multistatus>
16+
<D:response>
17+
<D:href>/User7de989b/asdasdasd/d/OC/DYNTZMMHWLW25RZHWYEDHLFWIUZZG2/</D:href>
18+
<D:propstat>
19+
<D:status>HTTP/1.1 200 OK</D:status>
20+
<D:prop>
21+
<D:resourcetype>
22+
<D:collection />
23+
</D:resourcetype>
24+
<D:getlastmodified>Thu, 30 Mar 2017 10:14:39 GMT</D:getlastmodified>
25+
</D:prop>
26+
</D:propstat>
27+
<D:propstat>
28+
<D:status>HTTP/1.1 404 Not Found</D:status>
29+
<D:prop>
30+
<D:collection></D:collection>
31+
<D:getcontentlength></D:getcontentlength>
32+
</D:prop>
33+
</D:propstat>
34+
</D:response>
35+
</D:multistatus>

src/test/resources/propfind-test-requests/empty-directory.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" ?>
2-
<d:multistatus xmlns:d="DAV:">
2+
<D:multistatus xmlns:D="DAV:">
33
<D:response>
44
<D:href>/asdasdasd/d/OC/</D:href>
55
<D:propstat>
@@ -13,4 +13,4 @@
1313
<D:status>HTTP/1.1 200 OK</D:status>
1414
</D:propstat>
1515
</D:response>
16-
</d:multistatus>
16+
</D:multistatus>
Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
<?xml version="1.0" ?>
2-
<d:multistatus xmlns:d="DAV:">
3-
<d:response>
4-
<d:href />
2+
<D:multistatus xmlns:D="DAV:">
3+
<D:response>
4+
<D:href />
55
https://webdavserver.com/User7de989b/asdasdasd/d/OC/DYNTZMMHWLW25RZHWYEDHLFWIUZZG2/0ZRGQYTW7FFHOJDJWIJYVR3M6MOME5EAR
6-
</d:href>
7-
<d:propstat>
8-
<d:status>HTTP/1.1 200 OK</d:status>
9-
<d:prop>
10-
<d:resourcetype></d:resourcetype>
11-
<d:getcontentlength>36</d:getcontentlength>
12-
<d:getlastmodified>Thu, 30 Mar 2017 10:14:39 GMT</d:getlastmodified>
13-
</d:prop>
14-
</d:propstat>
15-
<d:propstat>
16-
<d:status>HTTP/1.1 404 Not Found</d:status>
17-
<d:prop>
18-
<d:collection></d:collection>
19-
</d:prop>
20-
</d:propstat>
21-
</d:response></d:multistatus>
6+
</D:href>
7+
<D:propstat>
8+
<D:status>HTTP/1.1 200 OK</D:status>
9+
<D:prop>
10+
<D:resourcetype></D:resourcetype>
11+
<D:getcontentlength>36</D:getcontentlength>
12+
<D:getlastmodified>Thu, 30 Mar 2017 10:14:39 GMT</D:getlastmodified>
13+
</D:prop>
14+
</D:propstat>
15+
<D:propstat>
16+
<D:status>HTTP/1.1 404 Not Found</D:status>
17+
<D:prop>
18+
<D:collection></D:collection>
19+
</D:prop>
20+
</D:propstat>
21+
</D:response></D:multistatus>

0 commit comments

Comments
 (0)