[ 
https://issues.apache.org/jira/browse/XALANJ-2612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16363405#comment-16363405
 ] 

Mario Jauvin commented on XALANJ-2612:
--------------------------------------

I found out what the problem is.  Eclipse set the attribute 

[http://xml.apache.org/xalan/features/source_location] to true.  The correct 
attribute for xalan 2.7.1 is 
[http://xml.apache.org/xalan/properties/source-location|http://xml.apache.org/xalan/properties/source-location.]
 .  Eclipse needs to be changed.  You can close this JIRA.

> 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
>            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
(v7.6.3#76005)

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

Reply via email to