javax.xml.transform.Processor.processFromNode(Node, Systemid) method throws exception when I use import in the xsl file and pass appropriate systemid of the imported xsl file, it throws the following exception.
-------
Exception in thread "main" org.xml.sax.SAXNotRecognizedException: Feature: http://apache.org/xml/features/validation/dynamic
at org.apache.xalan.processor.StylesheetProcessor.processFromNode(StylesheetProcessor.java:196)
at org.apache.xalan.processor.StylesheetProcessor.processFromNode(StylesheetProcessor.java:230)
at ProcessorSystemidTest1.main(ProcessorSystemidTest1.java:36)
------
-------
Exception in thread "main" org.xml.sax.SAXNotRecognizedException: Feature: http://apache.org/xml/features/validation/dynamic
at org.apache.xalan.processor.StylesheetProcessor.processFromNode(StylesheetProcessor.java:196)
at org.apache.xalan.processor.StylesheetProcessor.processFromNode(StylesheetProcessor.java:230)
at ProcessorSystemidTest1.main(ProcessorSystemidTest1.java:36)
------