Ticket #151 (new defect)

Opened 5 months ago

Difference in tags case between Hpricot 0.5 and 0.6

Reported by: lubosp Owned by: why
Priority: major Milestone:
Component: lib/hpricot Version:
Keywords: case Cc:

Description

There seem to be change between Hpricot 0.5 and 0.6 involving xml tags (like <MyBook?>this is my book</MyBook>. While in Hpricot 0.5 converted the tag MyBook? to mybook so only doc.at('mybook') matched, in 0.6 the tag is not converted to lower case and stays MyBook? and matches only doc.at('MyBook?')

This is not backward compatible change and I've a question if there is an option in 0.6 that would control the case conversion.

Note: See TracTickets for help on using tickets.