You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Mukul Gandhi (Jira)" <ji...@apache.org> on 2019/09/02 10:31:00 UTC

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

     [ https://issues.apache.org/jira/browse/XALANJ-2612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mukul Gandhi resolved XALANJ-2612.
----------------------------------
      Assignee: Mukul Gandhi  (was: Steven J. Hathaway)
    Resolution: Not A Problem

The OP says that, he no longer has issues with the problem posted. As per the request, I'm resolving this issue.

> 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: Mukul Gandhi
>            Priority: Major
>
> 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
(v8.3.2#803003)

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