Hello Alberto,

Thanks for the response, I am surprised too for the core dump because I have been using the Xerces C++ to validate succesfully but now something seems to have changed, I am using too the DOMTreeErrorReporter class to capture all exceptions and everything seems to be OK...
I am developing in Red Hat 7.3 platform, using the source distribution of Xerces C++ version 2.3 rebuilt for my platform.
The compiler is gcc-2.96-113.
The options I used to compile were the flags: -p linux -c gcc -x g++


Thanks
Alberto Massari wrote:

At 15.42 14/01/2004 +0100, Esther Parrilla Endrino wrote:

Hello all,

Could someone tell where to find information about the exceptions that can be thrown by the
xercesc_2_3::XMLURL::setURL() method?


This method throws the MalformedURLException exception if the given URL is invalid; you usually see a lot of these exceptions when parsing a document stored in a file, because Xerces first tries to interpret the name as a URL, and then, if setURL complains, treats it as a file name.
However, you shouldn't get a core dump: can you tell us if you are using a binary release of Xerces, or a custom built one? In the latter case, what is the platform, compiler and special compiler options you specified?


Alberto

I am trying to validate an XML file but I get a core dump when calling this function, I have reviewed the Apache Xerces C++ docuemntation but I have
found no information about what this class is used for and the possible exceptions that could throw... :(
Does anyone where to find more info?


thanks in advance

e*

--

~ Code matters more than comercials ~

--



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






--

Esther Parrilla Endrino
Ground Segment Systems Division
e-mail: [EMAIL PROTECTED]
tel:    00 34 91 806 34 57

DEIMOS SPACE S.L.
Ronda de Poniente 19, Edificio Fiteni VI
Tres Cantos (Madrid)
http://www.deimos-space.com


~ Code matters more than comercials ~


--



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to