posted 13 years ago
I have a little class that I wrote to apply a XSLT file to a XML using Oracle XML Parser.
Here is the code:
When I execute it, I get the following error on the line (*)
XML-22050: (Error) Duplicate variable 'altova:table' definition.
XML-22050: (Error) Duplicate variable 'altova:table' definition.
XML-22050: (Error) Duplicate variable 'altova:table' definition.
oracle.xml.xslt.XSLException: XML-22050: (Error) Duplicate variable 'altova:table' definition.
at oracle.xml.xslt.XSLStylesheet.flushErrors(XSLStylesheet.java:1848)
The XSL file is a XSL file that was generated by Altova Stylevision.
I opened the XSL to watch is content and there is in dead several declarations of altova:table variable:
<xsl:variable name="altova:table">:
The XSLT is valid because when I execute the transformation with java.xml.Transformer class it works.
What can I do to solve the problem?