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 Mirko Braun <tb...@softing.com> on 2002/07/17 17:14:43 UTC
errors & warning again
Hi all,
thanks Gareth for your answer. I looked the mistakes up in XML 1.0, but the
parser either sent a fatal error
or just parsed the file without any warning. Below i explain my problem
again. Maybe anybody else
has experience with it.
i use the Xerces-C++ (Version 2_0, nightly build) for my application.
My application has an output-window, where all error messages of all
components of the system
should be shown. i.e. the messages of the parser.
For this reason i derivated my own class from the Errorhandler and
overwrote the methods.
i did one mistake (i looked them up in the XML 1.0) after another in the
XML-File to get the messages for a fatal error,
a error and a warning of the parser. i have to know the messages because i
want to format them
into strings and print them in a good looking way (not to many characters
in one line) in an output-window
of my application.
But the parser sent only fatal error. i did not manage to get an warning or
just an normal error.
Does anybody know, what the reason is?
Thanks in advance,
Mirko
______________________________
Braun Mirko
Automotive Electronics
Softing AG
Richard-Reitzner-Allee 6
85540 Haar
Tel.: (+49)89/456 56-465
mailto:braun.mirko@softing.com
http://www.softing.com
______________________________
RE: errors & warning again
Posted by Mirko Braun <tb...@softing.com>.
Hi Dean,
thank you for your answer. I find the file. Thank you very much.
regards, Mirko
At 12:02 17.07.02 -0700, you wrote:
>Just open up the XML file that holds the error descriptions. It is divided
>into sections for fatal, validation, and warning errors. The text of the
>errors will tell you what the errors are, so then you can try to create them.
>
>
>
>-------------------------------------
>
>Dean Roddey
>
>The Charmed Quark Controller
>
><ma...@charmedquark.com>droddey@charmedquark.com
>
>www.charmedquark.com
>
>
>
>-----Original Message-----
>From: Mirko Braun [mailto:tbm@softing.com]
>Sent: Wednesday, July 17, 2002 8:15 AM
>To: xerces-c-dev@xml.apache.org
>Subject: errors & warning again
>
>
>
>Hi all,
>
>thanks Gareth for your answer. I looked the mistakes up in XML 1.0, but
>the parser either sent a fatal error
>or just parsed the file without any warning. Below i explain my problem
>again. Maybe anybody else
>has experience with it.
>
>
>i use the Xerces-C++ (Version 2_0, nightly build) for my application.
>My application has an output-window, where all error messages of all
>components of the system
>should be shown. i.e. the messages of the parser.
>For this reason i derivated my own class from the Errorhandler and
>overwrote the methods.
>i did one mistake (i looked them up in the XML 1.0) after another in the
>XML-File to get the messages for a fatal error,
>a error and a warning of the parser. i have to know the messages because i
>want to format them
>into strings and print them in a good looking way (not to many characters
>in one line) in an output-window
>of my application.
>But the parser sent only fatal error. i did not manage to get an warning
>or just an normal error.
>Does anybody know, what the reason is?
>
>
>Thanks in advance,
>
>Mirko
>
>
>______________________________
>
>Braun Mirko
>Automotive Electronics
>Softing AG
>Richard-Reitzner-Allee 6
>85540 Haar
>Tel.: (+49)89/456 56-465
>mailto:braun.mirko@softing.com
>http://www.softing.com
>______________________________
______________________________
Braun Mirko
Automotive Electronics
Softing AG
Richard-Reitzner-Allee 6
85540 Haar
Tel.: (+49)89/456 56-465
mailto:braun.mirko@softing.com
http://www.softing.com
______________________________
RE: errors & warning again
Posted by Dean Roddey <dr...@charmedquark.com>.
Just open up the XML file that holds the error descriptions. It is
divided into sections for fatal, validation, and warning errors. The
text of the errors will tell you what the errors are, so then you can
try to create them.
-------------------------------------
Dean Roddey
The Charmed Quark Controller
droddey@charmedquark.com
www.charmedquark.com
-----Original Message-----
From: Mirko Braun [mailto:tbm@softing.com]
Sent: Wednesday, July 17, 2002 8:15 AM
To: xerces-c-dev@xml.apache.org
Subject: errors & warning again
Hi all,
thanks Gareth for your answer. I looked the mistakes up in XML 1.0, but
the parser either sent a fatal error
or just parsed the file without any warning. Below i explain my problem
again. Maybe anybody else
has experience with it.
i use the Xerces-C++ (Version 2_0, nightly build) for my application.
My application has an output-window, where all error messages of all
components of the system
should be shown. i.e. the messages of the parser.
For this reason i derivated my own class from the Errorhandler and
overwrote the methods.
i did one mistake (i looked them up in the XML 1.0) after another in the
XML-File to get the messages for a fatal error,
a error and a warning of the parser. i have to know the messages because
i want to format them
into strings and print them in a good looking way (not to many
characters in one line) in an output-window
of my application.
But the parser sent only fatal error. i did not manage to get an warning
or just an normal error.
Does anybody know, what the reason is?
Thanks in advance,
Mirko
______________________________
Braun Mirko
Automotive Electronics
Softing AG
Richard-Reitzner-Allee 6
85540 Haar
Tel.: (+49)89/456 56-465
mailto:braun.mirko@softing.com
http <http://www.softing.com/> ://www.softing.com
<http://www.softing.com/>
______________________________