Fix #1264: support namespaced attribute selectors.
Merge pull request #1368 from SimonSapin/master

Fix #1264: support namespaced attribute selectors.