Ticket #125 (new enhancement)

Opened 7 months ago

Last modified 7 months ago

Add == for Document and Element

Reported by: AdamCzepil Owned by: ser
Priority: normal Milestone:
Component: DOM Version:
Severity: normal Keywords:
Cc: Ruby version: Other
Operating system: All

Description

Currently it is not possible to compare two XML trees in elegant way (without comparing strings representing the trees).

Please implement this (== and eql?) to allow easy testing and to add new functionality.

Hint: use code from Test::Unit::XML gem, contact with author and make agreement for goodness of all REXML users :-)

Change History

Changed 7 months ago by AdamCzepil

  • type changed from defect to enhancement
Note: See TracTickets for help on using tickets.