You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2001/09/26 19:41:55 UTC
DO NOT REPLY [Bug 3838] -
IDOM Parser: whitespace reported as a TEXT child node by getChildNodes()
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3838>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3838
IDOM Parser: whitespace reported as a TEXT child node by getChildNodes()
------- Additional Comments From keshlam@us.ibm.com 2001-09-26 10:41 -------
Not that passing along the whitespace is required DOM and parser behavior (per
the XML Recommendation!) unless you:
1) Explicitly tell the parser to filter out whitespace-in-element-content
(actually not a feature written into the XML standard, but commonly supported in
actual parsers)
_AND_
2) Validate against a DTD or Schema, so the parser knows which whitespace falls
in this catagory versus being #PCDATA or mixed content.
Did you check your Xerces setup to make sure those conditions are met?
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org