diff options
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/xml.el | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/xml.el b/lisp/xml.el index be2ac96f264..88dc70bc413 100644 --- a/lisp/xml.el +++ b/lisp/xml.el @@ -437,6 +437,7 @@ in the XML-NS argument." (if symbol-qnames (cdr xml-ns) xml-ns))) ""))) (if (and symbol-qnames + (not special) (not (string= prefix "xmlns"))) (intern (concat ns lname)) (cons ns (if special "" lname)))) @@ -646,10 +647,8 @@ surpassed `xml-entity-expansion-limit'")))) (defun xml-parse-attlist (&optional xml-ns) "Return the attribute-list after point. Leave point at the first non-blank character after the tag." - (let* ((attlist ()) - (symbol-qnames (eq (car-safe xml-ns) 'symbol-qnames)) - (xml-ns (if symbol-qnames (cdr xml-ns) xml-ns)) - end-pos name) + (let ((attlist ()) + end-pos name) (skip-syntax-forward " ") (while (looking-at (eval-when-compile (concat "\\(" xml-name-re "\\)\\s-*=\\s-*"))) |