372 v.type = VERSIONING_SIMPLE; |
372 v.type = VERSIONING_SIMPLE; |
373 v.collection = VERSIONING_DEFAULT_PATH; |
373 v.collection = VERSIONING_DEFAULT_PATH; |
374 |
374 |
375 int err = 0; |
375 int err = 0; |
376 |
376 |
377 xmlChar *attr_type = xmlGetNoNsProp(node, BAD_CAST "format"); |
377 xmlChar *attr_type = xmlGetNoNsProp(node, BAD_CAST "type"); |
378 xmlChar *attr_always = xmlGetNoNsProp(node, BAD_CAST "always"); |
378 xmlChar *attr_always = xmlGetNoNsProp(node, BAD_CAST "always"); |
379 |
379 |
380 if(attr_type) { |
380 if(attr_type) { |
381 if(xstreq(attr_type, "simple")) { |
381 if(xstreq(attr_type, "simple")) { |
382 v.type = VERSIONING_SIMPLE; |
382 v.type = VERSIONING_SIMPLE; |