Assaf Arkin wrote:
> 
> Ted Leung wrote:
> >
> > How about we add a feature that allows people to turn this
> > behavior on or off, with the default behavior that ignorable whitespace
> > is not include in the DOM?
> 
> +1 on on/off feature
> +1 on on by default (i.e. no whitespace unless said otherwise)
> 
> +1 on documenting that you have to go trim your text nodes and ignore
> others if the DTD is missing (conclusion: always use some DTD)

I wish it was that easy.

Like I already pointed out, writing a DTD is a "total pain in the
ass"(tm) if you have more than a single namespace in your document,
which, in is almost _always_ the case in what I've been doing for the
last 12 months.

So, please, let's make DTDs slowly fade out of the XML scene...

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<[EMAIL PROTECTED]>                             Friedrich Nietzsche
--------------------------------------------------------------------
 Come to the first official Apache Software Foundation Conference!  
------------------------- http://ApacheCon.Com ---------------------

Reply via email to