You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ma...@apache.org on 2004/06/29 14:13:51 UTC
cvs commit: httpd-2.0/server util_xml.c
martin 2004/06/29 05:13:51
Modified: server util_xml.c
Log:
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>
Revision Changes Path
1.30 +4 -0 httpd-2.0/server/util_xml.c
Index: util_xml.c
===================================================================
RCS file: /home/cvs/httpd-2.0/server/util_xml.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -u -r1.29 -r1.30
--- util_xml.c 14 Mar 2004 20:53:58 -0000 1.29
+++ util_xml.c 29 Jun 2004 12:13:50 -0000 1.30
@@ -20,6 +20,7 @@
#include "http_log.h"
#include "http_core.h"
+#include "util_charset.h"
#include "util_xml.h"
@@ -110,6 +111,9 @@
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:
Re: cvs commit: httpd-2.0/server util_xml.c
Posted by Jeff Trawick <tr...@attglobal.net>.
martin@apache.org wrote:
> martin 2004/06/29 05:13:51
>
> Modified: server util_xml.c
> Log:
> Complete the EBCDIC conversion support for XML documents.
> With this change, mod_dav works on an EBCDIC machine.
cool!