Hi Kevin,
ftp is definitely unsupported. http should be supported, but such support
often varies amongst platforms. This is a Xerces question, since that's
what's doing the parsing. You might check the Xerces documentation, or
post a question on the Xerces list.
Just for fun, I tried the latest Xalan build with your file:
bash-2.02$ Xalan axes01.xml
http://sundev4.workgroup.com:82/pctrxml/reports/XML.xsl
XSLT warning: Fatal Error at (file <unknown>, line 0, column 0): An
exception occurred! Type:NetAccessorException, Message:The host/address
'{0}' could not be resolved (, line -1, column -1)
An exception occurred! Type:NetAccessorException, Message:The
host/address '{0}' could not be resolved
So it looks like http _is_ supported on Solaris, since it's trying to
resolve an address and failing (at least from the command line). I'm not
sure how your application differs, but you might want to try the command
line version of Xalan, just to see what happens.
Dave
[EMAIL PROTECTED]
om To: [EMAIL PROTECTED]
cc: (bcc: David N
Bertoni/Cambridge/IBM)
11/12/2002 06:53 Subject: RE: Supported protocols
AM
Please respond
to xalan-dev
I'm trying to do execute this code from the example program.
// const char* const theXSLFileName =
"ftp://w1000-10.workgroup.com/pctrxml/reports/XML.xsl";
const char* const theXSLFileName =
"http://sundev4.workgroup.com:82/pctrxml/reports/XML.xsl";
// const char* const theXSLFileName =
"file:///vol/users/kroy/testXalan/XML.xsl";
XalanTransformer xalan;
const XalanCompiledStylesheet* css = 0;
if (xalan.compileStylesheet(theXSLFileName, css) != 0)
{
cout << "compileStylesheet" << "\n";
cout << xalan.getLastError() << "\n";
return 0;
}
If I use http or ftp I got an error saying unsupported protocol.
If I use file:///, it works.
I wouldn't think that the http or ftp would be unsupported for sun. But
that is
what the error message is indicating.
Kevin
-----Original Message-----
From: Joseph Kesselman [mailto:keshlam@;us.ibm.com]
Sent: Tuesday, November 12, 2002 9:47 AM
To: [EMAIL PROTECTED]
Subject: Re: Supported protocols
>What are the supported protocols for XSL on sun/hp?
The question is incomplete as posed... what do you mean by "protocols"?
______________________________________
Joe Kesselman / IBM Research