MFH: Fixed bug #34103 (line numbering not maintained in dom document)

This commit is contained in:
Rob Richards 2005-08-15 17:13:57 +00:00
parent bbd37d99e1
commit 8bdc4285aa

View File

@ -1503,9 +1503,8 @@ static xmlDocPtr dom_document_parser(zval *id, int mode, char *source, int optio
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);