ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 61389] New: Loading Stylesheet - 'xalan://java.lang.String:replaceAll' is not allowed when the secure processing feature is set to true.
Date Tue, 08 Aug 2017 03:56:32 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=61389

            Bug ID: 61389
           Summary: Loading Stylesheet -
                    'xalan://java.lang.String:replaceAll' is not allowed
                    when the secure processing feature is set to true.
           Product: Ant
           Version: 1.10.1
          Hardware: PC
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Optional Tasks
          Assignee: notifications@ant.apache.org
          Reporter: sarika.sinha@in.ibm.com
  Target Milestone: ---

Eclipse Scripts fail to to load stylesheets with JDK 9 and Ant 1.10.1

javax.xml.transform.TransformerException: java.lang.RuntimeException: Use of
the extension function 'xalan://java.lang.String:replaceAll' is not allowed
when the secure processing feature is set to true.
        at
org.apache.tools.ant.taskdefs.XSLTProcess.handleTransformationError(XSLTProcess.java:1449)
        at
org.apache.tools.ant.taskdefs.XSLTProcess.process(XSLTProcess.java:856)
        at
org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:437)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
        at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:564)
        at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:435)
        at org.apache.tools.ant.Target.performTasks(Target.java:456)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
        at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
        at
org.eclipse.ant.internal.launching.remote.EclipseSingleCheckExecutor.executeTargets(EclipseSingleCheckExecutor.java:34)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
        ... 17 more
Caused by: javax.xml.transform.TransformerException:
java.lang.RuntimeException: Use of the extension function
'xalan://java.lang.String:replaceAll' is not allowed when the secure processing
feature is set to true.
        at
java.xml/com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:790)
        at
java.xml/com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:377)
        at
org.apache.tools.ant.taskdefs.optional.TraXLiaison.transform(TraXLiaison.java:205)
        at
org.apache.tools.ant.taskdefs.XSLTProcess.process(XSLTProcess.java:847)
        ... 32 more
Caused by: java.lang.RuntimeException: Use of the extension function
'xalan://java.lang.String:replaceAll' is not allowed when the secure processing
feature is set to true.
        at
java.xml/com.sun.org.apache.xalan.internal.xsltc.runtime.BasisLibrary.runTimeError(BasisLibrary.java:1621)
        at
java.xml/com.sun.org.apache.xalan.internal.xsltc.runtime.BasisLibrary.runTimeError(BasisLibrary.java:1625)
        at
java.xml/com.sun.org.apache.xalan.internal.xsltc.runtime.BasisLibrary.unallowed_extension_functionF(BasisLibrary.java:453)
        at jdk.translet/die.verwandlung.JUNIT.JS$dash$escape()
        at jdk.translet/die.verwandlung.JUNIT.template$dot$5()
        at jdk.translet/die.verwandlung.JUNIT.applyTemplates()
        at jdk.translet/die.verwandlung.JUNIT.template$dot$0()
        at jdk.translet/die.verwandlung.JUNIT.applyTemplates()
        at jdk.translet/die.verwandlung.JUNIT.applyTemplates()
        at jdk.translet/die.verwandlung.JUNIT.transform()
        at
java.xml/com.sun.org.apache.xalan.internal.xsltc.runtime.AbstractTranslet.transform(AbstractTranslet.java:624)
        at
java.xml/com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:783)
        ... 35 more

-- 
You are receiving this mail because:
You are the assignee for the bug.
Mime
View raw message