It will try to see if the system id is relative or fully qualified. If its
relative, then its relative to its parent entity. If its parent entity is a
file, then it assumes the new one is a file also (relative to the parent
entity's file.) If the parent is a URL, then its assumes the new one is a
URL relative to the parent entity's URL. So the problem here is that its
thinking that the URL is not fully qualified, so it makes it relative to the
parent file and tries to open it as a file. That's why its not ever calling
any network access stuff. So the problem has got to be in the 'is this URL
relative' checking code. The code for that would be in the URL class in the
utils subdirectory.

--------------------------
Dean Roddey
The CIDLib C++ Frameworks
Charmed Quark Software
[EMAIL PROTECTED]
http://www.charmedquark.com

"Why put off until tomorrow what you can
put off until the day after tomorrow?"

----- Original Message -----
From: "dave yuill" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, May 05, 2001 7:09 AM
Subject: Re: how to use XMLNetAccessor?


> > >  is it safe to say that its not even trying to use my class?
> > >
> > > thanks again, i must be missing somthing setting it up... maybe.. ?
> > >
> >
> > It wouldn't be calling it, because its treating that URL as a relative
> file
> > path. Somehow, the URL code must not be reporting it as a fully
qualified
> > URL. So it tries to make it relative to the parent entity, which is a
> file.
> > So it creates this new, incorrect, file path and tries to open it as a
> file,
> > never calling the netaccessor.
> >
>
> interesting... i wonder, how to get it to call netaccessor?
>
> ...
> #include "FENSNetAccessor.h"
> //    init the xml platform, etc..
> XMLPlatformUtils::fgNetAccessor = new FENSNetAccessor();
> //     attempt to parse XML, but get the fatal error
> ..
>
> http://www.pcia.com/wireres/protocol/dtd/wctpV1-0.dtd, why would it think
> thats not a url...?
>
> it was my understanding it may attempt to open it as a file first, but
then
> it would build the url and use the net accessor
>
> -dave
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


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

Reply via email to