fixed a bug where the principal node type of an axis wasn't tested on name

* xpath.c: fixed a bug where the principal node type of an axis
  wasn't tested on name check, fixes bug #377432
daniel
16 files changed