3 Replies Latest reply: Oct 24, 2011 3:33 PM by 524753 RSS

    Error using xdofx inside xdoxslt - Help!

    650372
      Hi All

      I am trying to assign a value to a variable that applies a UPPER () and not recognize it.
      What would be the correct syntax?

      *<?xdoxslt:set_variable($_XDOCTX, 'var', UPPER(ssCivil)?>*


      ------------------------------------------------------------------------------------------------------------------------------
      ConfFile: C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\config\xdoconfig.xml
      Font Dir: C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts
      Run XDO Start
      Template: D:\Proyectos\Macro\Verison 3\BM Reporte ABM Cliente_v2.rtf
      RTFProcessor setLocale: es-es
      FOProcessor setData: D:\Proyectos\Macro\Verison 3\BIP BM Account Report IO 3.xml
      FOProcessor setLocale: es-es
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(Unknown Source)
      at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
      at oracle.apps.xdo.common.xml.XSLTWrapper.transform(Unknown Source)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
      at oracle.apps.xdo.template.FOProcessor.createFO(Unknown Source)
      at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
      at RTF2PDF.runRTFto(RTF2PDF.java:629)
      at RTF2PDF.runXDO(RTF2PDF.java:454)
      at RTF2PDF.main(RTF2PDF.java:289)
      Caused by: oracle.xdo.parser.v2.XPathException: Function 'UPPER' not found.
      at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
      at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:571)
      ... 14 more
      ------------------------------------------------------------------------------------------------------------------------------

      Best regards

      Ignacio Vega