You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Mario Jauvin (JIRA)" <ji...@apache.org> on 2018/02/14 00:54:00 UTC

[jira] [Created] (XALANJ-2612) Not supported: http://xml.apache.org/xalan/features/source_location when using Xalan 2.7.1 interpretive

Mario Jauvin created XALANJ-2612:
------------------------------------

             Summary: Not supported: http://xml.apache.org/xalan/features/source_location when using Xalan 2.7.1 interpretive
                 Key: XALANJ-2612
                 URL: https://issues.apache.org/jira/browse/XALANJ-2612
             Project: XalanJ2
          Issue Type: Bug
      Security Level: No security risk; visible to anyone (Ordinary problems in Xalan projects.  Anybody can view the issue.)
    Affects Versions: 2.7.1
         Environment: Windows 10 64-bit
            Reporter: Mario Jauvin
            Assignee: Steven J. Hathaway


I create this XSL transformation called list.xsl:
{code:java}
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:template match="/">
    <!-- TODO: Auto-generated template -->
  </xsl:template>
</xsl:stylesheet>
{code}
Using eclipse oxygen.2 (also other versions) I create a XSL launch configuration (menu Run/Run Configation/XSL and click the small rectange icon with a plus in the top right corner) which uses any XML imput file (it does not matter) and uses the list.xsl. On the processor tab I select the specific preprocessor Xalan 2.7.1 and below under the attributes tab I set the source_location attribute to true.

When I click run I get this error:
{noformat}
19:49:39,975 INFO [main] JAXPSAXProcessorInvoker - Setting attribute 'http://xml.apache.org/xalan/features/source_location' to value true
19:49:39,983 FATAL [main] Main - Not supported: http://xml.apache.org/xalan/features/source_location
java.lang.IllegalArgumentException: Not supported: http://xml.apache.org/xalan/features/source_location
at org.apache.xalan.processor.TransformerFactoryImpl.setAttribute(TransformerFactoryImpl.java:576)
at org.eclipse.wst.xsl.jaxp.debug.invoker.internal.JAXPSAXProcessorInvoker.setAttributes(JAXPSAXProcessorInvoker.java:87)
at org.eclipse.wst.xsl.jaxp.debug.invoker.PipelineDefinition.configure(PipelineDefinition.java:143)
at org.eclipse.wst.xsl.jaxp.debug.invoker.internal.Main.main(Main.java:72){noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org
For additional commands, e-mail: dev-help@xalan.apache.org