Hi Stephane,
I am just heading out for morning coffee but will take a look at this when I return.  In the mean time you can download the latest bits based on Saxon 8.5.1.  I haven't released them publicly as I am in the middle of writing to different books and simply have had the cycles to do the proper testing.  But the results I have seen thus far have been promising.
You can access the bits via the following links:



Let me know the results you find with these and if this doesnt solve your problem I will take a look at your code and see where we can take things from there.
Best regards,
On 11/8/05, AUBRY, Stephane (COFRAMI) <stephane.aubry@airbus.com > wrote:

hi all,

Excuse me but i want to use your SAXON.NET 1.0 RC1 files in my application (C# Project). Unfortunately, an error occur during the application ! " gnu.xml.domLSException : Protocol handler not found :  c"
Have you got an idea ?

using System;
using System.IO;
using System.Xml;
using javax.xml.transform;
using javax.xml.transform.stream;
using net.sf.saxon;
namespace RulesToHtml
       /// <summary>
       /// Summary description for XSL.
       /// </summary>

       public class XSL


               public XSL(){ }

        public void Transform(string inXML, string inXSL,  string output)

                StreamSource inputXml_Source = new StreamSource(new java.io.FileInputStream(inXML));

                StreamSource inputXsl_Source = new StreamSource(new java.io.FileInputStream(inXSL));
               StreamWriter sw = new StreamWriter(output);
                sw.Write(DoTransform(inputXml_Source, inputXsl_Source));


        private static string DoTransform(StreamSource Xml, StreamSource Xsl)

                java.lang.System.setProperty("javax.xml.transform.TransformerFactory ", "net.sf.saxon.TransformerFactoryImpl");

                StreamResult outResult = new StreamResult();

                java.io.ByteArrayOutputStream outputXmlResult = new java.io.ByteArrayOutputStream ();


                TransformerFactory trans = TransformerFactory.newInstance();

                Transformer transformer = trans.newTransformer (Xsl);


                return outputXmlResult.toString ();


Thanks ?

This e-mail is intended only for the above addressee. It may contain
privileged information. If you are not the addressee you must not copy,
distribute, disclose or use any of the information in it. If you have
received it in error please delete it and immediately notify the sender.
Security Notice: all e-mail, sent to or from this address, may be
accessed by someone other than the recipient, for system management and
security reasons. This access is controlled under Regulation of
Investigatory Powers Act 2000, Lawful Business Practises.

SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
Saxondotnet-help mailing list


M. David Peterson