I am very sorry for the confusion created.
There seems to be some problem with the editor I was copying the attributes
after parsing and testing for white-spaces.
Xerces works fine for attribute white-spaces. I am getting the whitespaces.
No problem

Thank you very much for the response Voytenko.

Regards,
Ramana.JV. 

-----Original Message-----
From: Voytenko, Dimitry [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 28, 2003 1:06 PM
To: [EMAIL PROTECTED]
Subject: RE: White-space missing for attributes


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="&nbsp;&nbsp;&nbsp;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]

**************************************************************************** 
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]

Reply via email to