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 Simon Reye <sr...@indauto.com.au> on 2001/03/21 00:27:56 UTC

EndOfEntityException

Every time I parse my XML file an EndOfEntityException is thrown.  This is
of course internally caught and the parsing finishes and everything seems
okay.  What I am wondering is if something 'exceptional' has really happened
that I need to be worried about or is this exception just being used tp jump
around the code?

Simon


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


RE: EndOfEntityException

Posted by Simon Reye <sr...@indauto.com.au>.
Thanks for the explanation.

Simon

-----Original Message-----
From: Dean Roddey [mailto:droddey@charmedquark.com]
Sent: Wednesday, March 21, 2001 2:41 PM
To: xerces-c-dev@xml.apache.org
Subject: Re: EndOfEntityException


Just because its not an exceptional event to you doesn't mean its not
exceptional internally. There are some complicated issues involved in
reporting the start and end of entities, and some other intertwined issues
that this makes easier to deal with if the entity ends in certain ways.

--------------------------
Dean Roddey
The CIDLib C++ Frameworks
Charmed Quark Software
droddey@charmedquark.com
http://www.charmedquark.com

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


----- Original Message -----
From: "Simon Reye" <sr...@indauto.com.au>
To: <xe...@xml.apache.org>
Sent: Tuesday, March 20, 2001 7:08 PM
Subject: RE: EndOfEntityException


> Yes I've looked at the code and it seems to be caught internally and
> basically ignored it so it doesn't propogate out to my error handler.  So
> then what I am saying is why is an exception being thrown when an
> exceptional event has not occurred?
>
> Simon
>
> -----Original Message-----
> From: Dean Roddey [mailto:droddey@charmedquark.com]
> Sent: Wednesday, March 21, 2001 1:03 PM
> To: xerces-c-dev@xml.apache.org
> Subject: Re: EndOfEntityException
>
>
> If you have an error handler installed, and you see no errors being passed
> to your error handler, then its ok.
>
> --------------------------
> Dean Roddey
> The CIDLib C++ Frameworks
> Charmed Quark Software
> droddey@charmedquark.com
> http://www.charmedquark.com
>
> "I'm not sure how I feel about ambivalence"
>
>
> ----- Original Message -----
> From: "Simon Reye" <sr...@indauto.com.au>
> To: <xe...@xml.apache.org>
> Sent: Tuesday, March 20, 2001 3:27 PM
> Subject: EndOfEntityException
>
>
> > Every time I parse my XML file an EndOfEntityException is thrown.  This
is
> > of course internally caught and the parsing finishes and everything
seems
> > okay.  What I am wondering is if something 'exceptional' has really
> happened
> > that I need to be worried about or is this exception just being used tp
> jump
> > around the code?
> >
> > Simon
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> > For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


Re: EndOfEntityException

Posted by Dean Roddey <dr...@charmedquark.com>.
Just because its not an exceptional event to you doesn't mean its not
exceptional internally. There are some complicated issues involved in
reporting the start and end of entities, and some other intertwined issues
that this makes easier to deal with if the entity ends in certain ways.

--------------------------
Dean Roddey
The CIDLib C++ Frameworks
Charmed Quark Software
droddey@charmedquark.com
http://www.charmedquark.com

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


----- Original Message -----
From: "Simon Reye" <sr...@indauto.com.au>
To: <xe...@xml.apache.org>
Sent: Tuesday, March 20, 2001 7:08 PM
Subject: RE: EndOfEntityException


> Yes I've looked at the code and it seems to be caught internally and
> basically ignored it so it doesn't propogate out to my error handler.  So
> then what I am saying is why is an exception being thrown when an
> exceptional event has not occurred?
>
> Simon
>
> -----Original Message-----
> From: Dean Roddey [mailto:droddey@charmedquark.com]
> Sent: Wednesday, March 21, 2001 1:03 PM
> To: xerces-c-dev@xml.apache.org
> Subject: Re: EndOfEntityException
>
>
> If you have an error handler installed, and you see no errors being passed
> to your error handler, then its ok.
>
> --------------------------
> Dean Roddey
> The CIDLib C++ Frameworks
> Charmed Quark Software
> droddey@charmedquark.com
> http://www.charmedquark.com
>
> "I'm not sure how I feel about ambivalence"
>
>
> ----- Original Message -----
> From: "Simon Reye" <sr...@indauto.com.au>
> To: <xe...@xml.apache.org>
> Sent: Tuesday, March 20, 2001 3:27 PM
> Subject: EndOfEntityException
>
>
> > Every time I parse my XML file an EndOfEntityException is thrown.  This
is
> > of course internally caught and the parsing finishes and everything
seems
> > okay.  What I am wondering is if something 'exceptional' has really
> happened
> > that I need to be worried about or is this exception just being used tp
> jump
> > around the code?
> >
> > Simon
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> > For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


RE: EndOfEntityException

Posted by Simon Reye <sr...@indauto.com.au>.
Yes I've looked at the code and it seems to be caught internally and
basically ignored it so it doesn't propogate out to my error handler.  So
then what I am saying is why is an exception being thrown when an
exceptional event has not occurred?

Simon

-----Original Message-----
From: Dean Roddey [mailto:droddey@charmedquark.com]
Sent: Wednesday, March 21, 2001 1:03 PM
To: xerces-c-dev@xml.apache.org
Subject: Re: EndOfEntityException


If you have an error handler installed, and you see no errors being passed
to your error handler, then its ok.

--------------------------
Dean Roddey
The CIDLib C++ Frameworks
Charmed Quark Software
droddey@charmedquark.com
http://www.charmedquark.com

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


----- Original Message -----
From: "Simon Reye" <sr...@indauto.com.au>
To: <xe...@xml.apache.org>
Sent: Tuesday, March 20, 2001 3:27 PM
Subject: EndOfEntityException


> Every time I parse my XML file an EndOfEntityException is thrown.  This is
> of course internally caught and the parsing finishes and everything seems
> okay.  What I am wondering is if something 'exceptional' has really
happened
> that I need to be worried about or is this exception just being used tp
jump
> around the code?
>
> Simon
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


Re: EndOfEntityException

Posted by Dean Roddey <dr...@charmedquark.com>.
If you have an error handler installed, and you see no errors being passed
to your error handler, then its ok.

--------------------------
Dean Roddey
The CIDLib C++ Frameworks
Charmed Quark Software
droddey@charmedquark.com
http://www.charmedquark.com

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


----- Original Message -----
From: "Simon Reye" <sr...@indauto.com.au>
To: <xe...@xml.apache.org>
Sent: Tuesday, March 20, 2001 3:27 PM
Subject: EndOfEntityException


> Every time I parse my XML file an EndOfEntityException is thrown.  This is
> of course internally caught and the parsing finishes and everything seems
> okay.  What I am wondering is if something 'exceptional' has really
happened
> that I need to be worried about or is this exception just being used tp
jump
> around the code?
>
> Simon
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org