Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
repair non-namespace-aware attribute mis-interpretation in ElementTreeContentHandler #107
this pull request allows the usage of non-NS aware SAX parsers to work properly with ElementTreeContentHandler, regarding attributes. This refers to https://bugs.launchpad.net/lxml/+bug/1136509.
Above, the non-namespace aware parser generated by xml.sax.parse() calls the startElement() method, which ElementTreeContentHandler refers to startElementNS(). The attribute "FooBar" however must be expanded to the form