Fixed evaluation of attributes. Actually only attribute at the first level

* pattern.c: Fixed evaluation of attributes. Actually only
  attribute at the first level were evaluated (e.g. "@attr");
  expression like "foo/@attr" always failed.
2 files changed