Ticket #132 (new defect)

Opened 8 months 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 (404 bytes) - added by rubys 8 months ago.

Change History

Changed 8 months ago by rubys

Note: See TracTickets for help on using tickets.