shiaoyan05
asked on
Load XML Unexpected End Of File
Part of my application retrieves query string via a http post. eg, http://a.c.com/app/test.aspx?
qs=<Re><ID>#01</ID><Item>0 0</Item></ Re>
qs =Request.QueryString("str" )
........
xmlDoc.LoadXml(qs)
qs is in valid xml form, however i encountered the following error due to the '#' sign which is not a reserved symbol in xml. The process will be ok if i remove the # sign. Pls advise.
Unexpected end of file has occurred. The following elements are not closed: ID..
qs=<Re><ID>#01</ID><Item>0
qs =Request.QueryString("str"
........
xmlDoc.LoadXml(qs)
qs is in valid xml form, however i encountered the following error due to the '#' sign which is not a reserved symbol in xml. The process will be ok if i remove the # sign. Pls advise.
Unexpected end of file has occurred. The following elements are not closed: ID..
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER