Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Cannot parse document starting with <? xml version="1.0" encoding="Cp1252"?>

3728Sep 26 2001
Hello,
My application communicates with another server that sends back xml. I can't parse the response.
I have noticed that the first line in the document is <? xml version="1.0" encoding="Cp1252"?>. When I change this to:
<? xml version="1.0"?> (no encoding attribute) and save the document to my hard drive, then I can parse it.

Does anyone know how to get around this? I believe the syntax I receive from the other server is allowed.
Any Help Is Greatly Appreciated.
Thank You
Joe
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 24 2001
Added on Sep 26 2001
2 comments
517 views