I have a stylesheet that begins with:

 

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema">
  <xsl:template match="z:row">

 ...

 </xsl:template>
</xsl:stylesheet>

The stylesheet performs a transformation on a Microsoft ADO rowset. When I use the Xalan 2.2.D11, or Saxon 6.5.3, the transformation is successful. However when I use Xalan 2.6.0, I get the following exception: javax.xml.transform.TransformerConfigurationException: javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: A node test that matches either NCName:* or QName was expected.

 

This exception occurs when the Transformer is being instantiated from the Factory, prior to document transformation. If I remove the z: namespace reference from the <xsl:template match="z:row">, the Transformer is instantiated , but of course, doesn't perform the desired transformation.

 

Any help would be appreciated.

 

    Thanks,

    Dale McIntosh

 

 

Reply via email to