@@ -149,8 +149,8 @@ func TestMemPS(t *testing.T) {
149
149
op : "allprop" ,
150
150
name : "/file" ,
151
151
pnames : []xml.Name {
152
- {"DAV:" , "resourcetype" },
153
- {"foo" , "bar" },
152
+ {Space : "DAV:" , Local : "resourcetype" },
153
+ {Space : "foo" , Local : "bar" },
154
154
},
155
155
wantPropstats : []Propstat {{
156
156
Status : http .StatusOK ,
@@ -188,7 +188,7 @@ func TestMemPS(t *testing.T) {
188
188
propOp : []propOp {{
189
189
op : "propfind" ,
190
190
name : "/dir" ,
191
- pnames : []xml.Name {{"DAV:" , "resourcetype" }},
191
+ pnames : []xml.Name {{Space : "DAV:" , Local : "resourcetype" }},
192
192
wantPropstats : []Propstat {{
193
193
Status : http .StatusOK ,
194
194
Props : []Property {{
@@ -199,7 +199,7 @@ func TestMemPS(t *testing.T) {
199
199
}, {
200
200
op : "propfind" ,
201
201
name : "/file" ,
202
- pnames : []xml.Name {{"DAV:" , "resourcetype" }},
202
+ pnames : []xml.Name {{Space : "DAV:" , Local : "resourcetype" }},
203
203
wantPropstats : []Propstat {{
204
204
Status : http .StatusOK ,
205
205
Props : []Property {{
@@ -214,7 +214,7 @@ func TestMemPS(t *testing.T) {
214
214
propOp : []propOp {{
215
215
op : "propfind" ,
216
216
name : "/dir" ,
217
- pnames : []xml.Name {{"DAV:" , "getcontentlanguage" }},
217
+ pnames : []xml.Name {{Space : "DAV:" , Local : "getcontentlanguage" }},
218
218
wantPropstats : []Propstat {{
219
219
Status : http .StatusNotFound ,
220
220
Props : []Property {{
@@ -224,7 +224,7 @@ func TestMemPS(t *testing.T) {
224
224
}, {
225
225
op : "propfind" ,
226
226
name : "/dir" ,
227
- pnames : []xml.Name {{"DAV:" , "creationdate" }},
227
+ pnames : []xml.Name {{Space : "DAV:" , Local : "creationdate" }},
228
228
wantPropstats : []Propstat {{
229
229
Status : http .StatusNotFound ,
230
230
Props : []Property {{
@@ -238,7 +238,7 @@ func TestMemPS(t *testing.T) {
238
238
propOp : []propOp {{
239
239
op : "propfind" ,
240
240
name : "/dir" ,
241
- pnames : []xml.Name {{"DAV:" , "getetag" }},
241
+ pnames : []xml.Name {{Space : "DAV:" , Local : "getetag" }},
242
242
wantPropstats : []Propstat {{
243
243
Status : http .StatusNotFound ,
244
244
Props : []Property {{
@@ -248,7 +248,7 @@ func TestMemPS(t *testing.T) {
248
248
}, {
249
249
op : "propfind" ,
250
250
name : "/file" ,
251
- pnames : []xml.Name {{"DAV:" , "getetag" }},
251
+ pnames : []xml.Name {{Space : "DAV:" , Local : "getetag" }},
252
252
wantPropstats : []Propstat {{
253
253
Status : http .StatusOK ,
254
254
Props : []Property {{
@@ -493,7 +493,7 @@ func TestMemPS(t *testing.T) {
493
493
propOp : []propOp {{
494
494
op : "propfind" ,
495
495
name : "/dir" ,
496
- pnames : []xml.Name {{"foo:" , "bar" }},
496
+ pnames : []xml.Name {{Space : "foo:" , Local : "bar" }},
497
497
wantPropstats : []Propstat {{
498
498
Status : http .StatusNotFound ,
499
499
Props : []Property {{
0 commit comments