G
Guest
Hi,
I am currently working on xml files and i am trying to ensure that my code
handles any encoded chars (like > < & ' stored as < > " ' )
I am currently using XmlValidatingReader.ReadInnerXml() but i have noticed
the behavior with XmlDocument too.
assume that i am trying to read a node which looks like this
<exlObjectFields>
<itSPLY_NAME><test"invalid"></itSPLY_NAME>
<it:OFFCL_CODE>TFMS000000</it:OFFCL_CODE>
<it:BCKGRNDPAG>TFMS000000</it:BCKGRNDPAG>
</exlObjectFields>
The DSPLY_NAME Field code that is read looks like this
<itSPLY_NAME><test"invalid"></itSPLY_NAME>
As you can see. the < > not decoded but " is being decode back to " char. It
there any ways i could force it to read without automatic decoding certain
chars ? Is it a bug ?
TIA
I am currently working on xml files and i am trying to ensure that my code
handles any encoded chars (like > < & ' stored as < > " ' )
I am currently using XmlValidatingReader.ReadInnerXml() but i have noticed
the behavior with XmlDocument too.
assume that i am trying to read a node which looks like this
<exlObjectFields>
<itSPLY_NAME><test"invalid"></itSPLY_NAME>
<it:OFFCL_CODE>TFMS000000</it:OFFCL_CODE>
<it:BCKGRNDPAG>TFMS000000</it:BCKGRNDPAG>
</exlObjectFields>
The DSPLY_NAME Field code that is read looks like this
<itSPLY_NAME><test"invalid"></itSPLY_NAME>
As you can see. the < > not decoded but " is being decode back to " char. It
there any ways i could force it to read without automatic decoding certain
chars ? Is it a bug ?
TIA