cvs: php-src /ext/dom document.c
| From: | Rob Richards | Date: | Mon, 15 Aug 2005 17:13:19 +0000 |
| Subject: | cvs: php-src /ext/dom document.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-33405@lists.php.net to get a copy of this message | ||
rrichards Mon Aug 15 13:13:19 2005 EDT
Modified files:
/php-src/ext/dom document.c
Log:
Fixed bug #34103 (line numbering not maintained in dom document)
http://cvs.php.net/diff.php/php-src/ext/dom/document.c?r1=1.69&r2=1.70&ty=u
Index: php-src/ext/dom/document.c
diff -u php-src/ext/dom/document.c:1.69 php-src/ext/dom/document.c:1.70
--- php-src/ext/dom/document.c:1.69 Fri Aug 12 07:29:29 2005
+++ php-src/ext/dom/document.c Mon Aug 15 13:13:15 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: document.c,v 1.69 2005/08/12 11:29:29 dmitry Exp $ */
+/* $Id: document.c,v 1.70 2005/08/15 17:13:15 rrichards Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -1503,9 +1503,8 @@
if (keep_blanks == 0 && ! (options & XML_PARSE_NOBLANKS)) {
options |= XML_PARSE_NOBLANKS;
}
- if (options > 0) {
- xmlCtxtUseOptions(ctxt, options);
- }
+
+ xmlCtxtUseOptions(ctxt, options);
#else
ctxt->validate = validate;
ctxt->loadsubset = (resolve_externals * XML_COMPLETE_ATTRS);