Complete the EBCDIC conversion support for XML documents.

With this change, mod_dav works on an EBCDIC machine.

Submitted by:	Jean-Frederic Clere <jfclere apache.org>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104075 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Martin Kraemer
2004-06-29 12:13:50 +00:00
parent 361dcd1478
commit 5e05d68483

View File

@ -20,6 +20,7 @@
#include "http_log.h"
#include "http_core.h"
#include "util_charset.h"
#include "util_xml.h"
@ -110,6 +111,9 @@ AP_DECLARE(int) ap_xml_parse_input(request_rec * r, apr_xml_doc **pdoc)
return HTTP_BAD_REQUEST;
}
#if APR_CHARSET_EBCDIC
apr_xml_parser_convert_doc(r->pool, *pdoc, ap_hdrs_from_ascii);
#endif
return OK;
parser_error: