Hi Chris,
At 13.32 28/06/2004 -0400, Styduhar, Chris wrote:
I apologize for the mistake in the URL - please use the second one :)

I should have looked harder to that URL ;-)
Anyhow, I tried using "DOMPrint -n -s" on a dummy XML pointing to that URL, and it worked (that is, I got a bunch of validation errors, meaning that the schema was loaded). Looking at the sources it looks that that error is thrown when the connect() API fails, unless you are on MacOS, where it is thrown when an unknown error is returned by URLOpen.
Which platform are you on? Which version of Xerces are you using?


Alberto


-----Original Message-----
From: Jesse Pelton [mailto:[EMAIL PROTECTED]
Sent: Monday, June 28, 2004 12:30 PM
To: [EMAIL PROTECTED]
Subject: RE: Quick problem validating against schema located on a
central web server

Depends on which URL you use.  The first one in the original message had
"ww." instead of "www."

-----Original Message-----
From: Styduhar, Chris [mailto:[EMAIL PROTECTED]
Sent: Monday, June 28, 2004 1:22 PM
To: [EMAIL PROTECTED]
Subject: RE: Quick problem validating against schema located on a
central web server

http://www.stydie.com/xml/qd_request.xsd

I was just able to hit that address from my computer...

-----Original Message-----
From: Alberto Massari [mailto:[EMAIL PROTECTED]
Sent: Monday, June 28, 2004 12:20 PM
To: [EMAIL PROTECTED]
Subject: Re: Quick problem validating against schema located on a
central web server

Hi Chris,
I tried connecting to the address you provided, but I get an "unknown
host"
error message. Are you sure you wrote the URL correctly?

Alberto

At 13.12 28/06/2004 -0400, Styduhar, Chris wrote:
>We are trying to validate an XML file against a schema that is located
on
>our web server
>(<http://ww.stydie.com/xml/qd_request.xsd>http://ww.stydie.com/xml/qd_r
equest.xsd).
>When we run the parse function (DOM parser), we get the following
error:
>
>"Message: An exception occurred! Type:NetAccessorException, Message:
Could
>not connect to the socket for URL
>'<http://www.stydie.com/xml/qd_request.xsd>http://www.stydie.com/xml/qd
_request.xsd'"
>
>This file parses fine when we have a local schema location - I'm
wondering
>why it cannot handle a remote location?
>
>I'm sure this is a quick question - if it's already been answered
please
>direct me to the email where the solution is.  I really appreciate your
help!
>
>Thanks,
>Chris
>



---------------------------------------------------------------------
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]


--------------------------------------------------------------------- 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