isaacs/sax-js — pull request #112 by lddubeau (2013-12-05 21:09:35+00:00)
Title: Bugfix: sax is now able to handle a tag with the name "xmlns".

Before this patch, sax-js would produce incorrect events if it had to handle a tag named ``xmlns`` in the input. Something like:

```

```

would trip it up. The local name would be the empty string and the prefix would be set to ``xmlns``. I've modified the code so that this kind of transformation now happens only for attributes.

For the record, I came across this issue while running sax-js over a test suite designed by James Clark for Relax NG validators. I don't know what possessed him to test for ```` (maybe the same bug in another piece of software?), but here we are.