See http://www.w3.org/TR/REC-xml#AVNormalize for the case B. I'm not sure why are stripped in the case C, though.
-----Original Message----- From: Jaladurgam, Ramana [mailto:[EMAIL PROTECTED] Sent: Monday, July 28, 2003 10:52 To: '[EMAIL PROTECTED]' Subject: White-space missing for attributes Hello, I have an XML file as: <?xml version="1.0" standalone="yes" xml:space="preserve" ?> <Afile> <B text=" SomeText"/> <C text=" MoreText"/> </Afile> I am parsing it through SAX parser and get the attribute text in startElement(..) method. But, in both the cases of B and C, I found that the white spaces are missing. Am I required to set any properties to get the white-space? Do suggest. Regards, JV. **************************************************************************** This email may contain confidential material. If you were not an intended recipient, Please notify the sender and delete all copies. We may monitor email to and from our network. **************************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
