Lines Matching refs:stricterror

838 …k_legacy_insertion_validity(xmlNodePtr parentp, xmlNodePtr child, bool stricterror, bool warn_empt…  in dom_node_check_legacy_insertion_validity()  argument
842 php_dom_throw_error(NO_MODIFICATION_ALLOWED_ERR, stricterror); in dom_node_check_legacy_insertion_validity()
847 php_dom_throw_error(HIERARCHY_REQUEST_ERR, stricterror); in dom_node_check_legacy_insertion_validity()
852 php_dom_throw_error(WRONG_DOCUMENT_ERR, stricterror); in dom_node_check_legacy_insertion_validity()
864 php_dom_throw_error(HIERARCHY_REQUEST_ERR, stricterror); in dom_node_check_legacy_insertion_validity()
869 php_dom_throw_error(HIERARCHY_REQUEST_ERR, stricterror); in dom_node_check_legacy_insertion_validity()
875 php_dom_throw_error(HIERARCHY_REQUEST_ERR, stricterror); in dom_node_check_legacy_insertion_validity()
892 bool stricterror = dom_get_strict_error(intern->document); in dom_node_insert_before_legacy() local
894 if (!dom_node_check_legacy_insertion_validity(parentp, child, stricterror, true)) { in dom_node_insert_before_legacy()
903 php_dom_throw_error(NOT_FOUND_ERR, stricterror); in dom_node_insert_before_legacy()
1178 bool stricterror = dom_get_strict_error(intern->document); in dom_node_replace_child() local
1181 php_dom_throw_error(WRONG_DOCUMENT_ERR, stricterror); in dom_node_replace_child()
1198 if (!dom_node_check_legacy_insertion_validity(nodep, newchild, stricterror, false)) { in dom_node_replace_child()
1205 php_dom_throw_error(HIERARCHY_REQUEST_ERR, stricterror); in dom_node_replace_child()
1210 php_dom_throw_error(NOT_FOUND_ERR, stricterror); in dom_node_replace_child()
1277 bool stricterror = dom_get_strict_error(intern->document); in dom_node_remove_child() local
1280 php_dom_throw_error(NOT_FOUND_ERR, stricterror); in dom_node_remove_child()
1286 php_dom_throw_error(NO_MODIFICATION_ALLOWED_ERR, stricterror); in dom_node_remove_child()
1318 bool stricterror = dom_get_strict_error(intern->document); in dom_node_append_child_legacy() local
1320 if (!dom_node_check_legacy_insertion_validity(nodep, child, stricterror, true)) { in dom_node_append_child_legacy()
1369 …_with_message(HIERARCHY_REQUEST_ERR, "A document may only contain one document type", stricterror); in dom_node_append_child_legacy()
1390 php_dom_throw_error(INVALID_STATE_ERR, stricterror); in dom_node_append_child_legacy()