Hi,

I just tried to use the xalan classes for java and somehow, I alwaysget an exception 
which says: Namespace not supported by SAXParser
But the only namespace I'm using is xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
and that should be ok. Is there anything special thinks I have to take care about 
using the classes. I call them
like this:

        private final String OBJEKTE_XSL = "<filename>";
        TransformerFactory tFactory = null;
        Templates objekteXsl = null;
        Transformer transformer = null;

        // prepare xsl template
        tFactory = TransformerFactory.newInstance();
        try {
            objekteXsl = tFactory.newTemplates(new StreamSource(new 
FileReader(OBJEKTE_XSL)));
        } catch (FileNotFoundException e) {
            System.err.println("Cannot open file: " + OBJEKTE_XSL + ", "
                    + e.getMessage());
            System.exit(4);
        } catch (TransformerConfigurationException e) {
            System.err.println("Cannot parse file: " + OBJEKTE_XSL + ", " +
                     e.getMessage());
            e.printStackTrace();
            System.exit(5);
        }
there I get allways the exception. 

Thanks for the help

Uwe
----------------------------------------------------------------------------------------
Diplom Mathematiker Uwe S�lter

T-Systems 

Software Engineer
debis Systemhaus Internet Business Solutions GmbH
Hausanschrift: Lademannbogen 21-23, 22339 Hamburg
Tel.: +49 40 / 5395-1682
Fax: +49 40 / 5395-1602
eMail: [EMAIL PROTECTED]
http://www.t-systems.de

Reply via email to