Closed sabberworm closed 12 years ago
Do you have an example of the issue this is solving, or some steps to re-create your issue?
Steps to reproduce:
Davis(jQuery.noop).start()
.Content-Type: application/xhtml+xml
MIME Header.EXPECTED results:
The log should say: routeNotFound: GET …
.
ACTUAL results: No log entry… Davis did not detect the click.
I think you can also save the HTML file with a .xhtml
or .xml
extension and open the file in the browser locally to see the error (at least in Firefox).
The reason behind this is that the XML DOM (in contrast to the HTML/SGML DOM) does not do any case-folding on tag names (and attributes).
Ok, I've managed to re-create this now. I'm going to call toUpperCase
on the nodeName rather than change the origin checks object as well.
I've just pushed a new release (0.6.1) which fixes this problem.
Thanks!
For compatibility with documents served as
application/xhtml+xml
, tagName checks need always be normalized.