I would suggest checking which netacessor Xerces was compiled with.  It's more 
easily configured with the CMake build provided with Xerces-C 3.2.0.  If using 
libcurl, make sure it was built with SSL support; this might also apply to 
other netaccessors.


Roger Leigh
-------- Original message --------From: David McKee <[email protected]> 
Date: 11/01/2018  21:06  (GMT+00:00) To: [email protected] Subject: Xalan, 
Windows, and https 


Hi all!,


Apologies if this is the wrong place to ask this, but I am grasping at straws 
at this point.


Does Xalan-C support xslt transforms from a https url on Windows?


I'm a developer working on a commercial database product, we're using Xerces-C 
3.11 and Xalan-C 1.11 on Windows. When exporting our data as XML and using a 
xslt transform via a url, if that url is using https we get back an error of 
"SAXParseException: unsupported protocol in URL".  If the url is changed to use 
http, everything works as expected.   Our product is multi-platform, and using 
Xerces 3.1.1 and Xalan 1.11 on macOS works fine with either http or https.

We are calling XalanTransformer::transform( (xmlpath), (xslpath - a https url), 
(ofstream out var) ), which returns -2 as its result.  We then call 
XalanTransformer::getLastError() which returns the exception text I referenced 
above.

Perhaps if it is supported, there is some compile option we are missing? 


Unfortunately, my google-foo has failed me, and I don't know if this is even 
supported. In this security-sensitive world, telling our customers that they 
must only use http won't be acceptable in some cases.  We'd like to also 
support them using https on Windows.


Any information, solutions, or ideas would be greatly appreciated!

Thanks,

Dave



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to