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]

Reply via email to