On 8/30/07, Rob H. [email protected] wrote:
I’m trying to avoid having
But this is exactly what happens to me in both XmlSimple and REXML:
and are equivalent in the XML spec, so this
is correct behavior.
Does anyone know of a way to avoid this in either library? Or, should I
be doing this another way?
If you’re using REXML, you might investigate the last argument to
ie_hack: Internet Explorer is the worst piece of crap to have ever
been written, with the possible exception of Windows itself. Since IE
is unable to parse proper XML, we have to provide a hack to generate
XML that IE’s limited abilities can handle. This hack inserts a space
before the /> on empty tags. Defaults to false