xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "HERRICK, CHUCK (SBCSI)" <CH6...@momail.sbc.com>
Subject Xerces 1.0.2 DOMParser, whitespace and #text elements
Date Wed, 08 Mar 2000 18:57:50 GMT
Xerces-J 1.0.2 on NT in VisualAge for Java
 
If you send setIncludeIgnorableWhitespace(false) to
DOMParser, and then parse XML that has basically
ELEMENT_NODEs, and a bit of whitespace between
the start tags and end tags of the ELEMENT_NODEs,
you get #text nodes that contain the white space
(new line, tab, spaces, etc).
 
What's up with that?
 

Mime
View raw message