OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   white space

[ Lists Home | Date Index | Thread Index ]
  • From: Boxin Dai <Boxin.Dai@SARAIDE.COM>
  • To: xml-dev@ic.ac.uk
  • Date: Fri, 28 Jan 2000 10:45:22 -0500

Hello, Everyone:

I use SUN's parser to parser a XML document based on DOM. But due to white
space and "\n" in document, I can not parser it. Once remove all white space
and "\n", it is success. I try to use builder.ignoringWhiteSpace(true);, but
it still does work. For example, the Node has only one child, but when I use
hetChildNodes(), it will return 3 child nodes. I print the node name, the
first one is "#text". Where it is come from? Does anybody know how to handle
this problem? Thanks you very much.

Boxin Dai
Software Designer
3026 Solandt Road
Kanata,Ontario K2K 2A5
Tel:   (613) 270-5452
Fax:   (613) 270-5411
email: boxin.dai@saraide.com
web:   www.saraide.com

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ or CD-ROM/ISBN 981-02-3594-1
Unsubscribe by posting to majordom@ic.ac.uk the message
unsubscribe xml-dev  (or)
unsubscribe xml-dev your-subscribed-email@your-subscribed-address

Please note: New list subscriptions now closed in preparation for transfer to OASIS.


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS