That should not be a problem. Whitespace, comments, and PIs are legal after
the end of the root element. If anyone is actually having that problem its a
bug.

--------------------------
Dean Roddey
The CIDLib C++ Frameworks
Charmed Quark Software
[EMAIL PROTECTED]
http://www.charmedquark.com

"I'm not sure how I feel about ambivalence"


----- Original Message -----
From: "Jianjun Zhang" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 03, 2001 12:03 PM
Subject: Re: error


> Make sure that you don't have any whitespace characters at the end of your
> xml stream. I used to get the same error if I have a new line at the end
> of my xml file, but the DOM will still be constructed since the error
> occurs at the end of the file.
>
> -JJ
>
> On Mon, 2 Apr 2001, Alex Fridman wrote:
>
> > I am using DOM parser and I got the following error
> > "Expected comment or processing instruction" on perfectly legitimate XML
> > <presence type='suscribe' to='[EMAIL PROTECTED]'
> > from='msn.afslx2.automatedfinancial.com/registered'/>
> > any ideas?
> >
> > Thanks,
> > Alex Fridman
> > (212)771-1923
> >
> > ---------------------------------------------------------------------
> > 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]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to