You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Joseph Kesselman <ke...@us.ibm.com> on 2005/07/13 17:05:08 UTC

Re: preserve white spaces outside the root-element

The DOM spec says the Document node can't contain text elements, so there's
really no way to record this whitespace in a standard DOM Document.

______________________________________
Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more.
"The world changed profoundly and unpredictably the day Tim Berners Lee
got bitten by a radioactive spider." -- Rafe Culpin, in r.m.filk


---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-users-help@xerces.apache.org


Re: preserve white spaces outside the root-element

Posted by Michael Glavassevich <mr...@ca.ibm.com>.
It's also not represented [1] in the infoset.

[1] http://www.w3.org/TR/2004/REC-xml-infoset-20040204/#omitted

Joseph Kesselman <ke...@us.ibm.com> wrote on 07/13/2005 11:05:08 AM:

> The DOM spec says the Document node can't contain text elements, so 
there's
> really no way to record this whitespace in a standard DOM Document.
> 
> ______________________________________
> Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more.
> "The world changed profoundly and unpredictably the day Tim Berners Lee
> got bitten by a radioactive spider." -- Rafe Culpin, in r.m.filk
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
> For additional commands, e-mail: j-users-help@xerces.apache.org
> 

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrglavas@ca.ibm.com
E-mail: mrglavas@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-users-help@xerces.apache.org