You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Shivapuja Nath <Sh...@JohnDeere.com> on 2001/07/31 16:31:18 UTC
fatalError method in the DefaultHandler
I have a subclass that inherits from DefaultHandler. I am parsing three of
my XML buffers using SAX2Parser.
Everything works fine. But after the second buffer parse fatalError() method
is getting called and my program displays the following message.
Fatal Error at file prodInfo, line 9, char 30
Message: Expected comment or processing instruction
This happens if I do the parsing more than once. However it is parsing the
documents fine, it is just this message that is making me nervous.
I would appreciate any thoughts on this.
Nath Shivapuja
Deere & Company
ShivapujaNath@JohnDeere.com
563-589-6265
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
Re: fatalError method in the DefaultHandler
Posted by "Jason E. Stewart" <ja...@openinformatics.com>.
"Shivapuja Nath" <Sh...@JohnDeere.com> writes:
> I have a subclass that inherits from DefaultHandler. I am parsing three of
> my XML buffers using SAX2Parser.
> Everything works fine. But after the second buffer parse fatalError() method
> is getting called and my program displays the following message.
> Fatal Error at file prodInfo, line 9, char 30
> Message: Expected comment or processing instruction
What does the document look like? Without more info, it's hard to
help.
jas.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org