Hi Boris,

Thanks for the quick reply.  Xerces 2.7.0 exhibits the same behavior.

One interesting point is that the Windows version of Xerces-C++ Version
2.3.0 does not crash when given the same document.  It throws a parse
exception instead of overflowing the stack (Note: same schema for
Solaris and Windows)?

Changing the schema should work, however the schema is standard for
interpreting VoiceXML pages.

Thanks,

- - Russ

-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Boris Kolpackov
Sent: Monday, May 14, 2007 3:15 PM
To: [email protected]
Subject: Re: SAX parser causing stack overflow on Solaris


Hi Russell,

"Russell Gulli" <[EMAIL PROTECTED]> writes:

> Would anyone know if there is a patch available (on Solaris) that 
> would guard against stack overflow while processing such a page? We 
> are currently using: Xerces-C++ Version  2.3.0

The stack appears to overflow in the regular expression validation code.
Two things you may want to try are to upgrade to version 2.7.0 or
change/remove the regex pattern in your schema.

hth,
-boris

-- 
Boris Kolpackov
Code Synthesis Tools CC
http://www.codesynthesis.com
Open-Source, Cross-Platform C++ XML Data Binding

Reply via email to