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 Cristina Cioroboiu <cr...@yahoo.com> on 2004/03/17 09:00:23 UTC
bug 23226
Hello!
I have big problems with the bug 23226.
I saw that in 10.03.2004 someone reported that he fixed it.
How can i download a patch for this bug?
I have xerces -c 2.4.0.
Thanks, Cristina.
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
error handler and exceptions
Posted by Cristina Cioroboiu <cr...@yahoo.com>.
Hello!
I didn't understand exactly error handlers and exceptions.
I have written my Error Handler for XercesDOMParser using samples.
In its method i have formatted the warnings, errors and fatal error and after that i throw a runtime_error using my formatted messages.
In the application where i use the XercesDOMParser I setup my new ErrorHandler.
there I have something as:
try
{
parser.parse("blabla");
}
catch (exception &e)
{
..........
}
catch (...)
{
throw runtime_error( "Unhandled exception ")
}
What I'm not sure is where I catch the XMLException and DOMException (as in samples):
in first catch or in the second?
Thanks, Cristina.
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
Re: bug 23226
Posted by Alberto Massari <am...@progress.com>.
At 01.27 17/03/2004 -0800, you wrote:
>Garret,
>This is what i see in a mail for bug 23226.
>I don't see this bug in any bug report after that date.
>
>There is no patch attached to that mail.
>Do you know how can i got one or when it will be available?
>I work on AIX 5.1.
I just fixed the bug: try changing the definition for the array
gEscapeChars inside framework/XMLFormatter.cpp into
static const XMLCh
gEscapeChars[XMLFormatter::EscapeFlags_Count][kEscapeCount] =
{
{ chNull , chNull , chNull , chNull ,
chNull , chNull }
, { chAmpersand , chCloseAngle , chDoubleQuote , chOpenAngle ,
chSingleQuote , chNull }
, { chAmpersand , chOpenAngle , chDoubleQuote , chLF ,
chNull , chNull }
, { chAmpersand , chOpenAngle , chCloseAngle , chNull ,
chNull , chNull }
};
Alberto
>
>Thanks again,
>Cristina
>
>
> >http://issues.apache.org/bugzilla/show_bug.cgi?id=23226
>
> >DOMWriter doesn't escape newlines when serializing attribute values
>
> >alby@exceloncorp.com changed:
>
> > What |Removed |Added
> >
> ----------------------------------------------------------------------------
> > Status|NEW |RESOLVED
> > Resolution| |DUPLICATE
>
>
>
>Gareth Reakes <pa...@parthenoncomputing.com> wrote:
>Hi,
>the bug has been marked as duplicate, not fixed. There is no patch
>attached to either bug. Was there a patch attached to the mail you read?
>If so then download and apply it to 2.4.0 source.
>
>Gareth
>
>
>
>--
>Gareth Reakes, Managing Director +44-1865-811184
>Parthenon Computing http://www.parthcomp.com
>
>
>
>
>On Wed, 17 Mar 2004, Cristina Cioroboiu wrote:
>
> > Hello!
> >
> > I have big problems with the bug 23226.
> > I saw that in 10.03.2004 someone reported that he fixed it.
> > How can i download a patch for this bug?
> > I have xerces -c 2.4.0.
> >
> > Thanks, Cristina.
> >
> > Do you Yahoo!?
> > Yahoo! Mail - More reliable, more storage, less spam
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
>For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
>
>Do you Yahoo!?
><http://us.rd.yahoo.com/mailtag_us/*http://mail.yahoo.com>Yahoo! Mail -
>More reliable, more storage, less spam
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
Re: bug 23226
Posted by Cristina Cioroboiu <cr...@yahoo.com>.
Garret,
This is what i see in a mail for bug 23226.
I don't see this bug in any bug report after that date.
There is no patch attached to that mail.
Do you know how can i got one or when it will be available?
I work on AIX 5.1.
Thanks again,
Cristina
>http://issues.apache.org/bugzilla/show_bug.cgi?id=23226
>DOMWriter doesn't escape newlines when serializing attribute values
>alby@exceloncorp.com changed:
> What |Removed |Added
> ----------------------------------------------------------------------------
> Status|NEW |RESOLVED
> Resolution| |DUPLICATE
Gareth Reakes <pa...@parthenoncomputing.com> wrote:Hi,
the bug has been marked as duplicate, not fixed. There is no patch
attached to either bug. Was there a patch attached to the mail you read?
If so then download and apply it to 2.4.0 source.
Gareth
--
Gareth Reakes, Managing Director +44-1865-811184
Parthenon Computing http://www.parthcomp.com
On Wed, 17 Mar 2004, Cristina Cioroboiu wrote:
> Hello!
>
> I have big problems with the bug 23226.
> I saw that in 10.03.2004 someone reported that he fixed it.
> How can i download a patch for this bug?
> I have xerces -c 2.4.0.
>
> Thanks, Cristina.
>
> Do you Yahoo!?
> Yahoo! Mail - More reliable, more storage, less spam
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
Re: bug 23226
Posted by Gareth Reakes <pa...@parthenoncomputing.com>.
Hi,
the bug has been marked as duplicate, not fixed. There is no patch
attached to either bug. Was there a patch attached to the mail you read?
If so then download and apply it to 2.4.0 source.
Gareth
--
Gareth Reakes, Managing Director +44-1865-811184
Parthenon Computing http://www.parthcomp.com
On Wed, 17 Mar 2004, Cristina Cioroboiu wrote:
> Hello!
>
> I have big problems with the bug 23226.
> I saw that in 10.03.2004 someone reported that he fixed it.
> How can i download a patch for this bug?
> I have xerces -c 2.4.0.
>
> Thanks, Cristina.
>
> Do you Yahoo!?
> Yahoo! Mail - More reliable, more storage, less spam
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org