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 Ellis Birt <El...@strumap.co.uk> on 2002/01/03 10:20:40 UTC

Making Xerces-C use a proxy server for access to schema definitions located on the internet

Our (WIN32) application uses Xerces-C to implement support for a file format
that is defined in schemas located across the web servers of a number of
organisations.  While I could require users that need to use validation to
download all the relevant xsd and dtd files and enter their locations as
configuration settings that I pass into the parser using
setExternalSchemaLocation, this defeats the object of having standard
schemas in fixed locations, and could lead to the wrong schema being used.

Most of our customers are large corporates who have proxy servers insulating
their users from the internet.  Obviously we need to access the schemas
through said proxies.  In MSIE and netscape, you configure the browser to
use the proxy.

Is there any way to configure Xerces-C to use a proxy in the same way, or
could someone suggest how I might go about extending Xerces to support such
features?

TIA

Ellis

Mr. Ellis J Birt, Dip Comp(Open) 			StruMap
Applications Developer					Geodesys Ltd.
email: ellis.birt@strumap.co.uk			Astwood House
Tel: +44 (0)1527 8937581262 				Evesham Road
Fax: +44 (0)1527 893833					Astwood Bank, Redditch
Web: http://www.geodesys.com				Worcestershire,B96 6AD, UK



---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org