Ticket #132 (new defect)

Opened 2 years ago

XPath 'and' of attributes doesn't work

Reported by: rubys Owned by: ser
Priority: normal Milestone:
Component: DOM Version: 3.1.6
Severity: normal Keywords:
Cc: Ruby version: 1.8.5
Operating system: Linux

Description

From  the XPath spec:

  • employee[@secretary and @assistant] selects all the employee children of the context node that have both a secretary attribute and an assistant attribute

This doesn't work with REXML. Test case attached.

Attachments

xpath-and.rb Download (404 bytes) - added by rubys 2 years ago.

Change History

Changed 2 years ago by rubys

Note: See TracTickets for help on using tickets.