Ticket #136 (new defect)

Opened 8 months ago

0.6 self-closing tag change makes xml search a bit harder

Reported by: amaddox Owned by: why
Priority: trivial Milestone: 0.6
Component: ext/hpricot_scan Version:
Keywords: Cc: amaddox

Description

First off, great parser it makes my parsing life easier.

One thing I'm not clear on though is the update in 0.6 which ignores self-closing tags. This makes things less specific for specifying elements when parsing xml. Tags appearing below an unclosed tag are then determined to be decentants. I have this working with a combination of a double slash // or slash with contained star /*/.

This however is less specific and prone to error as it will find matching elements at deeper levels.

Note: See TracTickets for help on using tickets.