You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Styduhar, Chris" <Ch...@LibertyMutual.com> on 2004/06/28 19:12:29 UTC

Quick problem validating against schema located on a central web server

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).  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'"

 

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

 


Re: Quick problem validating against schema located on a central web server

Posted by Alberto Massari <am...@progress.com>.
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_request.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: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org