Hmm.  I mean external entities like schemas? iif I have:

<bar xmlns = "foo" schemaLocation="foo c:\schemas\foo.xsd">
 ...
</bar>

with validation on "c:\schemas\foo.xsd" is parsed like a url first and an
exceptionis thrown.  Are you saying I have set the schema location manually
using a LocalFileInputSource?

Jim

> -----Original Message-----
> From: Dean Roddey [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 31, 2001 4:51 PM
> To: [EMAIL PROTECTED]
> Subject: Re: void XMLURL::setURL(const XMLCh* const urlText)
> 
> 
> Use LocalFileInputSource to pass in your file names, then the 
> parser won't
> have to figure it out itself.
> 
> --------------------------
> Dean Roddey
> The Charmed Quark Controller
> Charmed Quark Software
> [EMAIL PROTECTED]
> http://www.charmedquark.com
> 
> "If it don't have a control port, don't buy it!"
> 
> 
> ----- Original Message -----
> From: "Murphy, James" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, August 31, 2001 8:05 AM
> Subject: void XMLURL::setURL(const XMLCh* const urlText)
> 
> 
> > I really wish[1] didn't throw an exception when parsing a 
> pathname instead
> > of a url.  Just returning false would be better in my view. 
>  This creates
> > 6-10 exception per parse for use since we _always_ have 
> file paths not
> urls
> > for our schema locations.  It really muddies up debugging.
> >
> >  A couple of spots to bubble up the return code would be easy but
> eventually
> > end when the constructor throw an exception.  I'm not a big 
> fan of that
> > behavior either.
> >
> > Thoughts?
> >
> > Jim
> >
> >
> > [1] void XMLURL::parse(const XMLCh* const urlText)
> >
> >
> > 
> ---------------------------------------------------------------------
> > 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]
> 

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

Reply via email to