cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Getting xerces-c-3.0.1 and libcurl to play together

From: Smitha Rajan <smitharajan_at_tataelxsi.co.in>
Date: Fri, 23 Oct 2009 11:32:48 +0530

Hi all

        Can somebody tell me is there ntlmv2 support in libcurl.
      If so in which version

Thanks
Smitha

-----Original Message-----
From: curl-library-bounces_at_cool.haxx.se on behalf of Dantzler, DeWayne C
Sent: Fri 10/23/2009 11:11 AM
To: curl-library_at_cool.haxx.se
Subject: Getting xerces-c-3.0.1 and libcurl to play together
 
Can I use libcurl along with Xerces to set the proxy host and port number to navigate a firewall? I built Xerces 3.0.1 to use libcurl(--enable-netaccessor-curl), but Xerces does not have an API which wraps libcurl's API to allow Xerces to set the proxy host and port similar to what Java does to set system properties: "http.proxyHost" and "http.proxyPort". Can someone point me to the specific libcurl documentation on the API to support this?

The problem is that there is a proxy between Xerces and the outside world and I need Xerces to perform XML validation against a schema which includes online references to an external schema (e.g <xs:import > namespace="http://www.w3.org/myspace schemaLocation="http://www.w3.org/schema.xsd"/>.

Here's how Java handles this use case:
$ java -Dhttp.proxyHost="www-stl-proxy4.MyProxy.com" -Dhttp.proxyPort="8160" -classpath SimpleParser.jar;xercesImpl.jar JavaXMLParse filename.xml filename.dtd

In a nutshell,how can I do this with Xerces-C++ using libcurl?

Thanks

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-10-23