hi,
i am getting the below exception when i apply xslt to xml using saxon.

javax.xml.transform.TransformerConfigurationException: javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: A node test that matches either NCName:* or QName was expected.
    at org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:984)
    at org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:788)
    at com.mits.sample.DomSample.main(DomSample.java:37)
Caused by: javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: A node test that matches either NCName:* or QName was expected.
    at org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:980)
    ... 2 more

my code is :


            System.setProperty(
                        "javax.xml.TransformerFactory",
                        "net.sf.saxon.SchemaAwareTransformerFactory");
TransformerFactory tFactory= TransformerFactoryImpl.newInstance();
            StreamSource stylesheet = new StreamSource(new FileInputStream("style.xsl"));
            Transformer transformer = tFactory.newTransformer(stylesheet);
           
            StreamResult result = new StreamResult(new FileOutputStream("C:/Reports1.xml"));
           
            transformer.transform(xmlDoc,result);