Am I just being too picky? Is it too much to ask that empty tags be kept empty?
Yes, you're too picky ;-). Seriously, the two XML fragments are completely identical from an XML point of view: the first form is just a shorthand notation.
Furthermore, the canonical form for end-tags is the one produced by XML::Parser. Also, keep in mind that in SAX you always receive an 'end tag' event, independent of the way the empty element was actually written.
--
dakkar - Mobilis in mobile
Most of my code is tested...
In reply to Re: XML::Parser can't create empty tags?
by dakkar
in thread XML::Parser can't create empty tags?
by graff
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |