You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xerces.apache.org by Matthias Schneider <ma...@gmx.de> on 2007/02/20 16:30:34 UTC
EndOfEntityException
Dear all,
I using Xerces 2.7.0 on a Borland C++ Builder 6 developer environment.
When I want to parse a XML file with a DTD file for validation, there is
thrown an EndOfEntityException every time. Why?! I use your sample
DOMPrint and ist the same... For testing I used the XML file in the data
folder.
Kind regards
Re: EndOfEntityException
Posted by Matthias Schneider <ma...@gmx.de>.
Hi Alberto,
ok, I will search that setting. Thanks a lot, I thought there was a
fault in my code.
Kind regards
Alberto Massari schrieb:
> Hi Matthias,
>
> At 18.16 20/02/2007 +0100, Matthias Schneider wrote:
>> Hi Alberto,
>>
>> it is only when I start the program in Borland. From the command line
>> everything is fine. But is everything ok when this exception is thrown?
>
> Yes, that's by design; if you want to stop BCB from stopping the
> execution, try to find out where in the IDE that setting can be changed.
>
> Alberto
>
>
>> Kind regards
>>
>>
>> Alberto Massari schrieb:
>>> Hi Matthias,
>>> does this happen only when debugging your code, or also when running
>>> the executable from the command line? EndOfEntityException is an
>>> exception thrown and caught internally by the parser, so it could be
>>> that your debugger is set on "break whenever an exception occurs"
>>> instead of "break when an unhandled exception occurs"
>>>
>>> Alberto
>>>
>>> At 16.30 20/02/2007 +0100, Matthias Schneider wrote:
>>>> Dear all,
>>>>
>>>> I using Xerces 2.7.0 on a Borland C++ Builder 6 developer
>>>> environment. When I want to parse a XML file with a DTD file for
>>>> validation, there is thrown an EndOfEntityException every time.
>>>> Why?! I use your sample DOMPrint and ist the same... For testing I
>>>> used the XML file in the data folder.
>>>>
>>>> Kind regards
>
Re: EndOfEntityException
Posted by Alberto Massari <am...@datadirect.com>.
Hi Matthias,
At 18.16 20/02/2007 +0100, Matthias Schneider wrote:
>Hi Alberto,
>
>it is only when I start the program in Borland. From the command
>line everything is fine. But is everything ok when this exception is thrown?
Yes, that's by design; if you want to stop BCB from stopping the
execution, try to find out where in the IDE that setting can be changed.
Alberto
>Kind regards
>
>
>Alberto Massari schrieb:
>>Hi Matthias,
>>does this happen only when debugging your code, or also when
>>running the executable from the command line? EndOfEntityException
>>is an exception thrown and caught internally by the parser, so it
>>could be that your debugger is set on "break whenever an exception
>>occurs" instead of "break when an unhandled exception occurs"
>>
>>Alberto
>>
>>At 16.30 20/02/2007 +0100, Matthias Schneider wrote:
>>>Dear all,
>>>
>>>I using Xerces 2.7.0 on a Borland C++ Builder 6 developer
>>>environment. When I want to parse a XML file with a DTD file for
>>>validation, there is thrown an EndOfEntityException every time.
>>>Why?! I use your sample DOMPrint and ist the same... For testing I
>>>used the XML file in the data folder.
>>>
>>>Kind regards
Re: EndOfEntityException
Posted by Matthias Schneider <ma...@gmx.de>.
Hi Alberto,
it is only when I start the program in Borland. From the command line
everything is fine. But is everything ok when this exception is thrown?
Kind regards
Alberto Massari schrieb:
> Hi Matthias,
> does this happen only when debugging your code, or also when running
> the executable from the command line? EndOfEntityException is an
> exception thrown and caught internally by the parser, so it could be
> that your debugger is set on "break whenever an exception occurs"
> instead of "break when an unhandled exception occurs"
>
> Alberto
>
> At 16.30 20/02/2007 +0100, Matthias Schneider wrote:
>> Dear all,
>>
>> I using Xerces 2.7.0 on a Borland C++ Builder 6 developer
>> environment. When I want to parse a XML file with a DTD file for
>> validation, there is thrown an EndOfEntityException every time. Why?!
>> I use your sample DOMPrint and ist the same... For testing I used the
>> XML file in the data folder.
>>
>> Kind regards
>
Re: EndOfEntityException
Posted by Alberto Massari <am...@datadirect.com>.
Hi Matthias,
does this happen only when debugging your code, or also when running
the executable from the command line? EndOfEntityException is an
exception thrown and caught internally by the parser, so it could be
that your debugger is set on "break whenever an exception occurs"
instead of "break when an unhandled exception occurs"
Alberto
At 16.30 20/02/2007 +0100, Matthias Schneider wrote:
>Dear all,
>
>I using Xerces 2.7.0 on a Borland C++ Builder 6 developer
>environment. When I want to parse a XML file with a DTD file for
>validation, there is thrown an EndOfEntityException every time.
>Why?! I use your sample DOMPrint and ist the same... For testing I
>used the XML file in the data folder.
>
>Kind regards