Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: XML::Parser can't create empty tags?

by dakkar (Hermit)
on May 06, 2005 at 14:42 UTC ( #454697=note: print w/replies, xml ) Need Help??

in reply to XML::Parser can't create empty tags?

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...

Perl is strongly typed, it just has very few types (Dan)

  • Comment on Re: XML::Parser can't create empty tags?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://454697]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2016-10-26 15:50 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (343 votes). Check out past polls.