RE: Getting exception: Cannot have '?>' inside an XML processing

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Kevin Yu [MSFT] (v-kevy_at_online.microsoft.com)
Date: 09/02/04


Date: Thu, 02 Sep 2004 07:10:56 GMT

Hi,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that when you're trying to parse an xml
document using XmlDocument. If there is any misunderstanding, please feel
free to let me know.

>From the exception message, it seems that there is something wrong with the
instruction between <? ?>. But from the xml fragment you have provided,
there seems to be nothing wrong. I suspect that there might be some
encoding issues, since when you open and save it in XMLSpy, it works well.
Could you let me know, from where you got this xml document?

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."



Relevant Pages

  • RE: Schema comment behavior
    ... I would like to confirm my understanding of your issue. ... comments in Xml documents. ... validators from different vendors has their own behavior ... make it possible for an application to retrieve the text of ...
    (microsoft.public.vsnet.general)
  • Re: How do I change part of an XML Attribute with XMLDOM
    ... have a better understanding of the XML DOM and MS Parser. ... > I know how to change/replace an attribute in my XML file. ... I would like to be able to change IDM ERROR to IDM MISTAKE in the ...
    (microsoft.public.vb.general.discussion)
  • RE: Newbie design advice
    ... I would like to confirm my understanding of your issue. ... I understand that you need to know the best practice for ... records from Xml, we can use XmlTextReader. ... After reading each single record, ...
    (microsoft.public.dotnet.general)
  • Re: A programming language is...
    ... > There are different grades of understanding. ... XML has more ... Plain text has plenty of machine-understandable structure. ...
    (comp.lang.lisp)
  • Re: XML and Large FIle (Append)
    ... "Amy L." ... > It is my understanding that in order to append XML to a file you would ... > have to read the file in as an XML document and insert the node. ... > into a comma delimited format which would make working with the file ...
    (microsoft.public.dotnet.xml)