My experience has been with early XPP implementations and Electric XML, but you can read the comment as more general (like your general entities statement). I believe XPP implementations discard some more esoteric things in the standard.
Jim Jim Brain, [EMAIL PROTECTED] "Researching tomorrow's decisions today." (319) 369-2070 (work) SYSTEMS ARCHITECT, ITS, AEGON FINANCIAL PARTNERS -----Original Message----- From: Dennis Sosnoski [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 2:10 PM To: [EMAIL PROTECTED] Subject: Re: Why Pull-Parser faster ? Bill de h�ra wrote: > Brain, Jim wrote: > >> Reason: XPP is tuned for SOAP and structured XML work, where the >> whitespace >> and CRLF marks can be assumed to be there for prettiness only, and >> have no >> code value. > > > So XPP isn't a compliant XML parser? AFAIK XPP has always reported whitespace properly. Glue's Electric XML is the only parser I know of that discards whitespace between elements (though this may have become an option rather than hardwired behavior in recent versions). XPP3 is the current version of the XPP parser. XPP3 implements the XMLPull interface (http://www.xmlpull.org) and is compliant with the XML specification except with respect to DTDs and related issues (general entities, etc.). These generally aren't used for data-oriented XML, and I think they're actually forbidden by SOAP. - Dennis
