If I remember right, the URL exception is thrown, but then somebody
catches it, and
tries to parse it as a file pathname.  In other words, this is one of
those
cases where an exception is expected in the course of normal operation.

Could you send me the files that failed (both XML and DTD files), and
I'll try to debug it here....there could be something wacky going on.

Note also that "http:" URL's aren't handled at all in Xerces-C right
now.  Somebody (either Dean or Rahul) is looking at fixing this, by
using libwww or equivalent.  

Also, the classname "XML4CExcepts" should be changed.  That one must
have escaped the XML4C-->Xerces name changeover.

Mike

Michael Burbidge wrote:
> 
> 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