uppercase nodeName before checking

Fix issue #44.
Merge pull request #45 from cweiske/master

uppercase nodeName before checking