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:

http://www.x2x2x.org/downloads/saxon.net/Saxon.NET.0.1.8.51.bin.debug.zip

http://www.x2x2x.org/downloads/saxon.net/Saxon.NET.0.1.8.51.bin.release.zip

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,
 
m.
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

       {





               //Constructors
               public XSL(){ }

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

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

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

        }

        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 ();

                outResult.setOutputStream(outputXmlResult);

                TransformerFactory trans = TransformerFactory.newInstance();

                Transformer transformer = trans.newTransformer (Xsl);

                transformer.transform(Xml,outResult);

                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
Saxondotnet-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/saxondotnet-help



--
<M:D/>

M. David Peterson
http://www.xsltblog.com/