I don't that's really an answer. Exceptions are used to report errors as
well. If the system mangles data during exceptions, just removing this one
isn't going to be an answer.

On the subject of the exception from XMLURL, the answer to that is that if
you know you are doing local files, pass in a LocalFileInputSource and if
you know you are doing URLs, pass in a URLInputSource. That way, there is
no need for the parser to figure it out itself.

----------------------------------------
Dean Roddey
Software Weenie
IBM Center for Java Technology - Silicon Valley
[EMAIL PROTECTED]



Eliot Muir <[EMAIL PROTECTED]> on 04/05/2000 05:45:05 PM

Please respond to [EMAIL PROTECTED]

To:   "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
cc:
Subject:  RE: IRIX changes ...



That's the same bit of code I was talking about - I dimly recall
years ago having trouble with exceptions on the GNU compiler
under IRIX - could you use an if statement instead and avoid
using the exception handling?

--
Eliot Muir, Technical Director                 iNTERFACEWARE
mailto:[EMAIL PROTECTED]
Voice 64-21-333068      http://www.interfaceware.com

Makers of iNTERFACEWARE Chameleon
   "Program to the iNTERFACE not the implementation"

-----Original Message-----
From:     [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]
Sent:     Thursday, April 06, 2000 12:31 PM
To:  [EMAIL PROTECTED]
Subject:  Re: IRIX changes ...




"If it is any help, I have gone through XMLScanner::scanDocument(const
XMLCh*
..) transcoding and writing out the systemId. This string (containing the
relative file name) is fine on entry to the routine, and is still fine
after
tmpURL is created and after the check isRelative is performed. But in the
catch for MalformedURLException the systemId appears to have turned into
nonsense - before the LocalFileInputSource is created, so the filename
going
into getFullPath in the IRIX platform utils is nonsense, causing realpath
to
return NULL."


This sounds a lot like the Solaris bug we had, where there were bugs in the
Solaris runtime exception handling. However, that was only in the presence
of multiple threads.

----------------------------------------
Dean Roddey
Software Weenie
IBM Center for Java Technology - Silicon Valley
[EMAIL PROTECTED]



(See attached file: WINMAIL.DAT)

Attachment: WINMAIL.DAT
Description: Binary data

Reply via email to