]> git.eshelyaron.com Git - emacs.git/commit
xml: Properly handle symbol-qnames for attribute parsing
authorDavid Engster <deng@randomsample.de>
Mon, 17 Apr 2017 14:52:08 +0000 (16:52 +0200)
committerDavid Engster <deng@randomsample.de>
Mon, 17 Apr 2017 15:17:00 +0000 (17:17 +0200)
commit09eaf661eb6ea49c6324d8819a872c523133dc2b
treed073537c697580c114b0b06a66172b27900c9b18
parent630df0587e1069b2cd2f2536d5fb61175adac3a2
xml: Properly handle symbol-qnames for attribute parsing

* lisp/xml.el (xml-parse-attlist): Do not strip 'symbol-qnames from
  xml-ns argument (reverts aea67018) (Bug#26533).
  (xml-maybe-do-ns): Properly handle default namespace by not
  interning new symbol when 'special' flag is set.

* tests/lisp/xml-tests.el (xml-parse-test--namespace-attribute-qnames)
  (xml-parse-namespace-attribute-qnames): Add test for Bug#26533.
lisp/xml.el
test/lisp/xml-tests.el