• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/apache-786.1/httpd/modules/dav/main/

Lines Matching refs:doc

1597     apr_xml_doc *doc;
1608 if ((result = ap_xml_parse_input(r, &doc)) != OK) {
1611 /* note: doc == NULL if no request body */
1613 if (doc && !dav_validate_root(doc, "options")) {
1815 if (doc == NULL) {
1827 for (elem = doc->root->first_child; elem != NULL; elem = elem->next) {
1890 elem = dav_find_child(ctx->doc->root, "prop");
1912 ** Note: ctx->doc can only be NULL for DAV_PROPFIND_IS_ALLPROP. Since
1920 ctx->doc ? ctx->doc->namespaces : NULL, &propdb);
1943 propstats = dav_get_props(propdb, ctx->doc);
1971 apr_xml_doc *doc;
2009 if ((result = ap_xml_parse_input(r, &doc)) != OK) {
2012 /* note: doc == NULL if no request body */
2014 if (doc && !dav_validate_root(doc, "propfind")) {
2023 if (doc == NULL
2024 || (child = dav_find_child(doc->root, "allprop")) != NULL) {
2028 else if ((child = dav_find_child(doc->root, "propname")) != NULL) {
2031 else if ((child = dav_find_child(doc->root, "prop")) != NULL) {
2050 ctx.doc = doc;
2069 /* send <multistatus> tag, with all doc->namespaces attached. */
2071 /* NOTE: we *cannot* leave out the doc's namespaces from the
2073 then we need to spit out the doc's namespaces for use by the
2078 doc ? doc->namespaces : NULL);
2243 apr_xml_doc *doc;
2263 if ((result = ap_xml_parse_input(r, &doc)) != OK) {
2266 /* note: doc == NULL if no request body */
2268 if (doc == NULL || !dav_validate_root(doc, "propertyupdate")) {
2292 if ((err = dav_open_propdb(r, NULL, resource, 0, doc->namespaces,
2313 for (child = doc->root->first_child; child; child = child->next) {
2388 dav_send_multistatus(r, HTTP_MULTI_STATUS, &resp, doc->namespaces);
2987 apr_xml_doc *doc;
2998 if ((result = ap_xml_parse_input(r, &doc)) != OK)
3023 if (doc != NULL) {
3024 if ((err = dav_lock_parse_lockinfo(r, resource, lockdb, doc,
3244 apr_xml_doc *doc;
3262 if ((result = ap_xml_parse_input(r, &doc)) != OK) {
3265 /* note: doc == NULL if no request body */
3267 if (doc != NULL) {
3271 if (!dav_validate_root(doc, "version-control")) {
3279 if ((child = dav_find_child(doc->root, "version")) == NULL) {
3430 apr_xml_doc *doc;
3441 if ((result = ap_xml_parse_input(r, &doc)) != OK)
3444 if (doc != NULL) {
3447 if (!dav_validate_root(doc, "checkout")) {
3455 if (dav_find_child(doc->root, "apply-to-version") != NULL) {
3467 is_unreserved = dav_find_child(doc->root, "unreserved") != NULL;
3468 is_fork_ok = dav_find_child(doc->root, "fork-ok") != NULL;
3470 if ((aset = dav_find_child(doc->root, "activity-set")) != NULL) {
3636 apr_xml_doc *doc;
3643 if ((result = ap_xml_parse_input(r, &doc)) != OK)
3646 if (doc != NULL) {
3647 if (!dav_validate_root(doc, "checkin")) {
3655 keep_checked_out = dav_find_child(doc->root, "keep-checked-out") != NULL;
3708 apr_xml_doc *doc;
3731 if ((result = ap_xml_parse_input(r, &doc)) != OK) {
3735 if (doc == NULL || !dav_validate_root(doc, "update")) {
3744 if ((child = dav_find_child(doc->root, "label-name")) != NULL)
3746 else if ((child = dav_find_child(doc->root, "version")) != NULL) {
3916 apr_xml_doc *doc;
3947 if ((result = ap_xml_parse_input(r, &doc)) != OK) {
3951 if (doc == NULL || !dav_validate_root(doc, "label")) {
3960 if ((child = dav_find_child(doc->root, "add")) != NULL) {
3963 else if ((child = dav_find_child(doc->root, "set")) != NULL) {
3966 else if ((child = dav_find_child(doc->root, "remove")) != NULL) {
4043 apr_xml_doc *doc;
4050 if ((result = ap_xml_parse_input(r, &doc)) != OK)
4052 if (doc == NULL) {
4063 label_allowed = (*vsn_hooks->report_label_header_allowed)(doc);
4079 if ((err = (*vsn_hooks->deliver_report)(r, resource, doc,
4107 apr_xml_doc *doc;
4123 if ((result = ap_xml_parse_input(r, &doc)) != OK) {
4127 if (doc == NULL
4128 || !dav_validate_root(doc, "mkworkspace")) {
4151 if ((err = (*vsn_hooks->make_workspace)(resource, doc)) != NULL) {
4245 apr_xml_doc *doc;
4258 if ((result = ap_xml_parse_input(r, &doc)) != OK)
4261 if (doc == NULL || !dav_validate_root(doc, "merge")) {
4269 if ((source_elem = dav_find_child(doc->root, "source")) == NULL) {
4311 no_auto_merge = dav_find_child(doc->root, "no-auto-merge") != NULL;
4312 no_checkout = dav_find_child(doc->root, "no-checkout") != NULL;
4314 prop_elem = dav_find_child(doc->root, "prop");