What version of the code are you using and what OS are you on? We've had
some trouble with some systems not correctly catching exceptions and
letting them leak out. The MalformedURLException is expected in that case,
but it should never make it out. We've had an issue on Solaris where they
leaked out because of a system bug. And we had an issue with VC++ 6.0 not
catching them in earlier (2.x) releases, and we had to make the base
XMLException class copy constructor public in order to make it work
correctly.

Are you in either of those scenarios?

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



Michael Burbidge <[EMAIL PROTECTED]> on 01/10/2000 09:26:52 AM

Please respond to [EMAIL PROTECTED]

To:   <[EMAIL PROTECTED]>
cc:
Subject:  DOCTYPE specification...



I have the following DOCTYPE specification:

<!DOCTYPE film-guide SYSTEM "film-guide.dtd">

According to my understanding, this is a valid DOCTYPE specification, yet
I'm failing when parsing the URL. The code throws a
XML4CExcepts::URL_MalformedURL exception. When I traced through the code I
found that the method URL::findType was looking for a colon in the first 8
characters. If it doesn't find one then it throws the exception.

What's up? Why can't I specify a local file as in the above DOCTYPE?

Thanks,
Mike-




Reply via email to