Error with XSL Transformation

From my application log I see an exception where it tries to call the oracle.xml.parser.v2.XSLProcessor.
The servlet for the login screen (XSL transformation) takes XML and returns HTML. Actually for the xml parsing
we use xerces I don't understand why we would call the ORACLE parser? Do you have any idea? Is this a CLASSPATH
or configuration problem? Is there a way to use the xml parser xerces instead the oracle one.
<log4j:event logger="com.siemens.srvcmgmt.common.server.PresentationHandler" timestamp="1052834094464" level="DEBUG" thread="ApplicationServerThread-5">
<log4j:message><![CDATA[Error: ]]></log4j:message>
<log4j:NDC><![CDATA[1 Security doPost sendLoginScreen PresentationHandler transformIt]]></log4j:NDC>
<log4j:throwable><![CDATA[java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:375)
at oracle.xml.parser.v2.XSLProcessor.setParam(XSLProcessor.java:658)
at oracle.xml.jaxp.JXTransformer.setParameter(JXTransformer.java:385)
at com.siemens.srvcmgmt.common.server.PresentationHandler.transformIt(PresentationHandler.java:149)
at com.siemens.srvcmgmt.smc.servlet.Security.sendLoginScreen(Security.java:596)
at com.siemens.srvcmgmt.smc.servlet.Security.doPost(Security.java:105)
at com.siemens.srvcmgmt.smc.servlet.Security.doGet(Security.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:560)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:148)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:72)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
at java.lang.Thread.run(Thread.java:479)
]]></log4j:throwable>

From my application log I see an exception where it tries to call the oracle.xml.parser.v2.XSLProcessor.
The servlet for the login screen (XSL transformation) takes XML and returns HTML. Actually for the xml parsing
we use xerces I don't understand why we would call the ORACLE parser? Do you have any idea? Is this a CLASSPATH
or configuration problem? Is there a way to use the xml parser xerces instead the oracle one.
<log4j:event logger="com.siemens.srvcmgmt.common.server.PresentationHandler" timestamp="1052834094464" level="DEBUG" thread="ApplicationServerThread-5">
<log4j:message><![CDATA[Error: ]]></log4j:message>
<log4j:NDC><![CDATA[1 Security doPost sendLoginScreen PresentationHandler transformIt]]></log4j:NDC>
<log4j:throwable><![CDATA[java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:375)
at oracle.xml.parser.v2.XSLProcessor.setParam(XSLProcessor.java:658)
at oracle.xml.jaxp.JXTransformer.setParameter(JXTransformer.java:385)
at com.siemens.srvcmgmt.common.server.PresentationHandler.transformIt(PresentationHandler.java:149)
at com.siemens.srvcmgmt.smc.servlet.Security.sendLoginScreen(Security.java:596)
at com.siemens.srvcmgmt.smc.servlet.Security.doPost(Security.java:105)
at com.siemens.srvcmgmt.smc.servlet.Security.doGet(Security.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:560)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:148)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:72)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
at java.lang.Thread.run(Thread.java:479)
]]></log4j:throwable>

Similar Messages

  • UCCheck Showing error with XSL statement

    We are preparing to convert to Unicode and my XSL scripts are failing in UCCheck.  It appears my XSLT script (Z_EBPP_FINAL_OUTPUT_CSV) is fine, but the SAP created code behind it is failing (Z_EBPP_FINAL_OUTPUT_CSV=======XT) on the first line "<xsl:transform version="1.0"
    with an error message = "Statement "<XSL" is not defined. Check your spelling."
    Has anyone experienced this problem before?  If so, how did you fix it?
    Thanks,
    Ken Kammer
    The Reynolds and Reynolds Co.

    Here is the code that is causing the problem:  Unicode is saying the first line is in error in the SAP generated code from the XSLT.
    <xsl:transform version="1.0"
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      xmlns:sapxsl="http://www.sap.com/sapxsl"
      xmlns:asx="http://www.sap.com/abapxml"
    >
    <xsl:output encoding="iso-8859-1" method="text"/>
    <xsl:strip-space elements="*"/>
    <xsl:template match="asx:abap/asx:values">
    <xsl:text>Bill To,</xsl:text>
    <xsl:apply-templates select="SOURCE/_-1BEA_-S_CRMB_BDH_WRK/PAYER"/>,<xsl:text/>
    <xsl:apply-templates select="ADDINFO/PAYERNAME"/><xsl:text>
    </xsl:text>
    <xsl:text>Invoice No.,</xsl:text>
    <xsl:apply-templates select="SOURCE/_-1BEA_-S_CRMB_BDH_WRK/HEADNO_EXT"/><xsl:text>
    </xsl:text>
    <xsl:text>Date,</xsl:text>
    <xsl:apply-templates select="SOURCE/_-1BEA_-S_CRMB_BDH_WRK/BILL_DATE"/><xsl:text>
    </xsl:text>
    <xsl:apply-templates select="INVOICEITEMS"/>
    </xsl:template>
    <xsl:template match="INVOICEITEMS">
    <xsl:text>Ship To,Name,Line #,Ref #,Order Number, Quantity,Description,Customer Price,Extended Price,Allowance Amount,Net Price
    </xsl:text>
    <xsl:apply-templates select="INVOICEITEM/SOURCE"/>
    </xsl:template>
    <xsl:template match="INVOICEITEM/SOURCE">
    <xsl:apply-templates select="ZZSHIP_TO_CUST"/>,<xsl:text/>
    <xsl:apply-templates select="ZZSHIP_TO_CUST_NAME"/>,<xsl:text/>
    <xsl:apply-templates select="ITEMNO_EXT"/>,<xsl:text/>
    <xsl:apply-templates select="ZZCONTRACT"/>,<xsl:text/>
    <xsl:apply-templates select="ZZLEGACY_ORDER"/>,<xsl:text/>
    <xsl:apply-templates select="ZZQTY_SHIPPED"/>,<xsl:text/>
    <xsl:text>"</xsl:text>
    <xsl:apply-templates select="ZZPROD_DESC"/>",<xsl:text/>
    <xsl:apply-templates select="ZZUNIT_PRICE"/>,<xsl:text/>
    <xsl:apply-templates select="ZZGROSS_PRICE"/>,<xsl:text/>
    <xsl:apply-templates select="ZZDISC_AMOUNT"/>,<xsl:text/>
    <xsl:apply-templates select="NET_VALUE"/><xsl:text>
    </xsl:text>
    </xsl:template>
    <xsl:template match="ZZSHIP_TO_CUST|ZZSHIP_TO_CUST_NAME|ITEMNO_EXT|ZZCONTRACT|ZZLEGACY_ORDER|ZZPROD_DESC|PAYER|PAYERNAME|HEADNO_EXT|BILL_DATE">
    <!-- this is for string value nodes -->
    <xsl:value-of select="normalize-space(.)"/><xsl:text/>
    </xsl:template>

  • Issue with XSL transformation in Java Stored Procedure

    Hi,
    Am having issue applying XSL transformation in Java Stored procedure. I have loaded the java class as well as .XSL files through loadjava uility and their status in DB is VALID.
    Below is the code in the java stored procedure:
    public static String tranform(String strInputXML ){
    URL url = ClassLoader.getSystemClassLoader().getResource(first.xsl);
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    DocumentBuilder builder = factory.newDocumentBuilder();
    Document document = builder.parse(new ByteArrayInputStream (strInputXML.getBytes("UTF-8")));
    TransformerFactory tFactory = TransformerFactory.newInstance();
    StreamSource stylesource = new StreamSource(url.openStream());
    Transformer transformer = tFactory.newTransformer(stylesource);
    When I run this procedure, am getting following errors:
    {color:#ff0000}*ERROR: 'No such file or directory'*
    FATAL ERROR: 'Could not compile stylesheet'{color}
    My first.xsl file has reference to other excel file (Ex: &lt;xsl:include href="second.xsl"/&gt;) which seems to be causing this error. When I remove the reference, procedure is working fine.
    Pls let me know how to resolve this and read the .XSL file with references.
    Thanks,

    Hello,
    Thanks for the reply. Actually I have seen that post before creating this thread. I thought that I could make use of java mail to work around this problem. I created a java class that succesfully sends mail to SSL host. I tried to call this java class from pl-sql through java stored procedure. That did not work
    So, is this not supported in Oracle ? Please note that I have tested this in both 9i and 11g , in both the versions I got the error. You can refer to the code in the above post.
    Thanks
    Srikanth
    Edited by: user12050615 on Jan 16, 2012 12:17 AM

  • Problems with xsl transformation

    Hi,
    I have an XSL to transform an XML to HTML code.
    I want my HTML to be ACCESSIBLE.
    All is working ok, but the <html> tag have two or three attributtes that make de code no ACCESSIBLE.
    This is a part of the XSL code:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:xdt="http://www.w3.org/2005/xpath-datatypes">
         <xsl:output method="xhtml" version="1.0" encoding="UTF-8" indent="yes" standalone="no"/>
    <xsl:include href="barraSuperior.xsl"/>
         <xsl:include href="cabecera.xsl"/>
         <xsl:include href="menu.xsl"/>
         <xsl:include href="enllacosDestacats.xsl"/>
         <xsl:include href="contenido.xsl"/>
         <xsl:include href="barraBanners.xsl"/>
         <xsl:include href="pie.xsl"/>
         <xsl:variable name="homeWeb">http://172.16.67.119:8080/Biblioteques/xslt/V53CapSetmana</xsl:variable>
         <xsl:variable name="idioma"><xsl:value-of select="xmlData/config/idioma"/></xsl:variable>
         <xsl:variable name="literals" select="document(concat($homeWeb,'/traduccions/',$idioma,'.xml'))"/>
         <xsl:template match="/">
              <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$idioma}" lang="{$idioma}">
                   <head>
                        <title>
    <body>
                        <xsl:call-template name="barraSuperior"/>
                        <xsl:call-template name="cabecera"/>
                        <div id="wrapper">                         
                             <div id="columna0">
                                  <xsl:apply-templates select="xmlData/menuLateral/contingutVignette/contingut/llista"/>
                             </div>     
                             <xsl:call-template name="contenido"/>
                        </div>
                        <xsl:call-template name="pie"/>
                   </body>
              </html>
         </xsl:template>
    </xsl:stylesheet>
    This is a part of the HTML result:
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <html xmlns="http://www.w3.org/1999/xhtml" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:xdt="http://www.w3.org/2005/xpath-datatypes" xmlns:xs="http://www.w3.org/2001/XMLSchema" xml:lang="ca" lang="ca">
         <head>
              <title>B cap de setmana</title>
    </head>
    <body>
    </body>
    I want the <html> to be like this:
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ca" lang="ca">

    Use the exclude-result-prefixes attribute in your xsl:stylesheet element.

  • Error using custom xpath function with XSL transformations in BPM

    Hi,
    We have created a custom xpath function for use with SOA Suite and BPM. This has been built as per specified within the http://docs.oracle.com/cd/E29597_01/dev.1111/e10224/bp_appx_functs.htm#SOASE11100. We have also reviewed the Oracle Sample for mapper-107-ExtensionFunctions (sample demonstrates the use of user-defined extension functions). This has been registered with jDeveloper and SOA within the oracle.soa.ext_11.1.1 (run ant to include in oracle.soa.ext.jar)
    We ideally want to use this is BPM within an xsl. However when consuming this function is either BPEL or BPM using an xsl, the xsl fails with an error such as:
    XPath expression failed to execute. An error occurs while processing the XPath expression; the expression is ora:doXSLTransformForDoc("xsl/Transformation_1.xsl", $inputVariable.payload). The XPath expression failed to execute; the reason was: javax.xml.transform.TransformerException: oramds:/deployed-composites/default/gwCustomXpathUtil_rev1.0/xsl/Transformation_1.xsl<Line 9, Column 113>: XML-22043: (Error) Extension function error: Method not found 'getWeekDayDate'. Check the detailed root cause described in the exception message text and verify that the XPath query is correct.
    In an Assign it operates fine and returns the expected result. We have included a combination of both of the Config files (ext-mapper-xpath-functions-config.xml and ext-soa-xpath-functions-config.xml) in the META-INF folder, however neither allow the use of this function in the XSL.
    I believe there may be an issue getting the custom xpath functions within XSL files. Hence I have also raised an SR. Has anyone experiences of this?
    Our SOA / BPM suite environment is using 11.1.1.6.4 and has the following patches applied:
    13801175
    14406487 (11.1.1.6.4 SOA Bundle)
    13896993
    13088538
    Regards Dave
    Edited by: DavidGaskell on Mar 14, 2013 10:08 PM

    Hi All,
    I am also facing the same issue...Experts can you please help us.
    hi DavidGaskell, did you find any resolution, if so can you share it with me.....
    Thanks,
    RR

  • Error 0000: internal error with Apply Transform Module

    Hello:
    I get an internal error message when attempting to use a previously saved data transform (namely missing value processing using MICE).  What is strange is that using the previously saved model works if I feed the exact same data that was used for training
    it but generates an internal error whenever I use a sample - even a 90% sample of the original.  This is the output log:
    Record Starts at UTC 04/02/2015 10:30:53:
    Run the job:"/dll "Microsoft.Analytics.Modules.ApplyITransform.Dll, Version=6.0.0.0, Culture=neutral, PublicKeyToken=69c3241e6f0468ca;Microsoft.Analytics.Modules.ApplyITransform.Dll.ApplyITransformModule;ApplyITransform" /Output0 "..\..\Transformed dataset\Transformed dataset.dataset" /transform "..\..\Transformation\Transformation.itransform" /data "..\..\Dataset\Dataset.dataset" "
    Starting Process 'C:\Resources\directory\870595a63cd0452da2f3767b831099d7.SingleNodeRuntimeCompute.Packages\AFx\6.2\DllModuleHost.exe' with arguments ' /dll "Microsoft.Analytics.Modules.ApplyITransform.Dll, Version=6.0.0.0, Culture=neutral, PublicKeyToken=69c3241e6f0468ca;Microsoft.Analytics.Modules.ApplyITransform.Dll.ApplyITransformModule;ApplyITransform" /Output0 "..\..\Transformed dataset\Transformed dataset.dataset" /transform "..\..\Transformation\Transformation.itransform" /data "..\..\Dataset\Dataset.dataset" '
    [ModuleOutput] DllModuleHost Start: 1 : Program::Main
    [ModuleOutput] DllModuleHost Start: 1 : DataLabModuleDescriptionParser::ParseModuleDescriptionString
    [ModuleOutput] DllModuleHost S[ModuleOutput] DllModuleHost Start: 1 : DllModuleMethod::DllModuleMethod
    [ModuleOutput] DllModuleHost S[ModuleOutput] DllModuleHost Start: 1 : DllModuleMethod::Execute
    [ModuleOutput] DllModuleHost Start: 1 : DataLabModuleBinder::BindModuleMethod
    [ModuleOutput] DllModuleHost Verbose: 1 : moduleMethodDescription Microsoft.Analytics.Modules.ApplyITransform.Dll, Version=6.0.0.0, Culture=neutral, PublicKeyToken=69c3241e6f0468ca;Microsoft.Analytics.Modules.ApplyITransform.Dll.ApplyITransformModule;ApplyITransform
    [ModuleOutput] DllModuleHost Verbose: 1 : assemblyFullName Microsoft.Analytics.Modules.ApplyITransform.Dll, Version=6.0.0.0, Culture=neutral, PublicKeyToken=69c3241e6f0468ca
    [ModuleOutput] DllModuleHost Start: 1 : DataLabModuleBinder::LoadModuleAssembly
    [ModuleOutput] DllModuleHost Verbose: 1 : Trying to resolve assembly : Microsoft.Analytics.Modules.ApplyITransform.Dll, Version=6.0.0.0, Culture=neutral, PublicKeyToken=69c3241e6f0468ca
    [ModuleOutput] DllModuleHost Verbose: 1 : Loaded moduleAssembly Microsoft.Analytics.Modules.ApplyITransform.Dll, Version=6.0.0.0, Culture=neutral, PublicKeyToken=69c3241e6f0468ca
    [ModuleOutput] DllModuleHost S[ModuleOutput] DllModuleHost Verbose: 1 : moduleTypeName Microsoft.Analytics.Modules.ApplyITransform.Dll.ApplyITransformModule
    [ModuleOutput] DllModuleHost Verbose: 1 : moduleMethodName ApplyITransform
    [ModuleOutput] DllModuleHost Information: 1 : Module FriendlyName : Apply Transformation
    [ModuleOutput] DllModuleHost Information: 1 : Module Release Status : Release
    [ModuleOutput] DllModuleHost S[ModuleOutput] DllModuleHost Start: 1 : ParameterArgumentBinder::InitializeParameterValues
    [ModuleOutput] DllModuleHost Verbose: 1 : parameterInfos count = 2
    [ModuleOutput] DllModuleHost Verbose: 1 : parameterInfos[0] name = transform , type = Microsoft.Analytics.MachineLearning.ITransform`2[Microsoft.Numerics.Data.Local.DataTable,Microsoft.Numerics.Data.Local.DataTable]
    [ModuleOutput] DllModuleHost Start: 1 : DotNetSerializationHandler::HandleArgumentString
    [ModuleOutput] DllModuleHost S[ModuleOutput] DllModuleHost Verbose: 1 : parameterInfos[1] name = data , type = Microsoft.Numerics.Data.Local.DataTable
    [ModuleOutput] DllModuleHost Start: 1 : DataTableDatasetHandler::HandleArgumentString
    [ModuleOutput] DllModuleHost S[ModuleOutput] DllModuleHost S[ModuleOutput] DllModuleHost Verbose: 1 : Begin invoking method ApplyITransform ...
    [ModuleOutput] InputDataStructure
    [ModuleOutput]
    [ModuleOutput] {
    [ModuleOutput] "InputName":Dataset
    [ModuleOutput] "Rows":385338
    [ModuleOutput] "Cols":105
    [ModuleOutput] "ColumnTypes":System.Nullable`1[System.Double],99,System.Nullable`1[System.Int32],5,System.String,1
    [ModuleOutput] }
    [ModuleOutput] DllModuleHost S[ModuleOutput] DllModuleHost Error: 1 : Program::Main encountered fatal exception: Microsoft.Analytics.Exceptions.ErrorMapping+ModuleException: Error 0000: Internal error ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: Source array was not long enough. Check srcIndex and length, and the array's lower bounds.
    Module finished after a runtime of 00:00:27.6131405 with exit code -2
    Module failed due to negative exit code of -2
    Record Ends at UTC 04/02/2015 10:31:38.
    Experiment URL: 
    https://studio.azureml.net/Home/ViewWorkspace/ffac4490b5e448fa8778ceadc74a0b97?#Workspaces/Experiments/Experiment/ffac4490b5e448fa8778ceadc74a0b97.f-id.0c2caa16ad4b46b08449bcfaf4a71e57/ViewExperiment
    Thanks for your help

    It's pretty clear no-one at Microsoft is interested in answering this on this forum.  With a paid subscription plan would I be able to get a response for these types of incidents/follow up questions?  You know - so I can stop throwing money away
    running experiments with modules that haven't been fixed in almost a month in hope that magically they will start to work some day...

  • Error with "Creating Transformation for Master Data"

    Hi!
    I have the following error, when I try to create a transformation in SAP Solution Manager.
    Error analysis
    Short text of error message:
    Network could not be launched due to control error
    Long text of error message:
    Diagnosis
    Network control cannot be started either because is is not  installed on the front-end computer, or because the control  framework is inconsistent when the function is called up.  To be able to start the network graphic, you need two OCX files   that are delivered with the BW Frontend.
    System Response
    Processing has been terminated.
    Procedure
    Make sure that the OCXs ICDataFlow.ocx and wdbdadpt.ocx auf are
    installed on your computer. You can find notes on installing and
    checking the BW Frontend by searching for SAP Notes with the
    following key words:
      Version, sapservX, Setup, Patch, Installation, Frontend, BW,
      sapbexc.xla, checktool, wdtaocx, wdtaocx.ocx
       If the front end is installed correctly but the error still occurs,  contact SAP.
    Procedure for System Administration
    Technical information about the message:
    Message class....... "RSNG"
    Number.............. 001
    Variable 1.......... " "
    Thank you very much!
    regards
    Thom

    It seems like probably the installation is not proper.
    Or
    you don't have the SAP BW Data Flow Control for Administration Workbench installed in your system
    This is what i found
    wdbdadpt.ocx (SAP BW Data Flow Control for Administration Workbench) is a component from the software SAP BW Data Flow Control for Administration Workbench version 3020.6.21 by SAP AG, Walldorf. wdbdadpt.ocx version 3020.6.21 has a file size of 99,216 bytes, and is most commonly found under the directory "Controls" with a creation date of January 14, 2006
    Seems like some one else also got this issue
    Getting short dump in BI system, transaction RSA1
    Regards,
    Zaheer

  • Error in XSL transformation

    I am having trouble importing a XML file that I have previously exported. when I import the XML I get "Expected end of tag 'para'. I tried to edit the XML to add the end tag but am having trouble locating it. Any suggestion?

    An XML document exported from FrameMaker should not be missing an end-tag. Are you having trouble locating the erroneous "para" element or the XML file?
    If the former, I suggest paring down your document to the shortest possible test case. If the latter, I gather from your subject line that your application uses XSLT. Is XSLT run when you export the document, when you import the result or both? In any case, you may need to compare pre- and post- versions of the XML document because the XSLT transform may have introduced the error.
    --Lynne

  • Error btm1050: XSL transform error: Unable to write output instance to the following "location". Exception has been thrown by the target of an invocation. Value was either too large or too small for a Decimal.

    BizTalk Map error. Can you please suggest what could be the reason for this.

    Hi,
    You can also use the Map TestTool to test your maps. It uses the BizTalk engine to execute the map. You can select a map that is deployed to the GAC en execute it.
    You can download the sample tool with the source code here:
    TestTool for BizTalk 2013
    http://code.msdn.microsoft.com/Execute-BizTalk-2013-maps-e8db7f9e
    TestTool for BizTalk 2010
    http://code.msdn.microsoft.com/Execute-a-BizTalk-map-from-26166441
    Kind regards,
    Tomasso Groenendijk
    Blog 
    |  Twitter
    MCTS BizTalk Server 2006, 2010
    If this answers your question please mark it accordingly

  • Help with XSL transforms

    I am new to working with Structured FrameMaker and am struggling to successfully implement an XSLT transformation. I want to transform a doxygen output in XML into a formatted FrameMaker document/book. I am using FrameMaker 7.2, and using the Using XSLT in FrameMaker 7.2 Technical Paper as a guide. I have been able to create an EDD and an application, but I am having trouble understanding how to use the EDD to format my document. Is anyone aware of other resources that can assist me?

    Unfortunately, that's the latest and greatest along with http://help.adobe.com/en_US/FrameMaker/9.0/StructuredDev/Structure_Dev_Guide.pdf (which might have a few more clues).
    Adobe has been a bit lax in updating documentation to the latest versions...
    You might also want to have a look at the Unstructed to XML workflow series of videos by Tom Aldous. The links are found on this page:
    http://www.adobe.com/devnet/framemaker.html
    See parts 4-6 for more clues.
    There's also an older book by Kay Ethier "XML and FrameMaker" (http://www.apress.com/9781590592762) that covers this and a large part of it is still applicable to current FM versions.

  • XSL transformation exception when using it in a subprocess

    Hi all
    I want to use a service task in sub-process that call a function with ref_cursor return type, when i map data association from output parameters to data object with xsl transformation an exception raise.
    in other hand my sub-process properties are : multiInstance, parallel , collection ,loop data input use an array , which create instances according to items of given array like http://www.avioconsulting.com/blog/simultaneous-creation-instances-array-oracle-bpm-11g
    by the way this feature works on service task that placed out of sub-process correctly.
    2.

    Hi Fazel,
    XSLT mapping is not working in the unpatched version of Oracle BPM 12c currently available.
    This work around is not great or even close to it, but the only way I've heard of anyone getting it to work is to right mouse click each of the individual children nodes.
    Know this bug has been reported by many people and has had a significant impact to all of us so it might be worth contacting Support to see if there might be a patch.
    Dan

  • How can I use JavaScript extention functions with Xalan for transforming XML with XSL

    While transforming standart XML and XSL files to HTML with this servlet:
    package mypackage1;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import java.util.*;
    import java.net.URL;
    import javax.xml.transform.*;
    import javax.xml.transform.stream.StreamSource;
    import javax.xml.transform.stream.StreamResult;
    import org.mozilla.javascript;
    public class Servlet2 extends HttpServlet
    private static final String CONTENT_TYPE = "text/html; charset=windows-1252";
    public void init(ServletConfig config) throws ServletException
    super.init(config);
    public void doGet(HttpServletRequest request, HttpServletResponse response)throws ServletException, IOException
    try
    response.setContentType(CONTENT_TYPE);
    PrintWriter out = response.getWriter();
    TransformerFactory tFactory = TransformerFactory.newInstance();
    Source xmlSource = new StreamSource(new FileReader("c:/aaa.xml"));
    Source xslSource = new StreamSource(new FileReader("c:/bbb.xsl"));
    Transformer transformer = tFactory.newTransformer(xslSource);
    transformer.transform (xmlSource, new StreamResult(out));
    catch (Exception e)
    e.printStackTrace();
    everything is going ok,
    but when try to use javascript function in XSL file, for example like in this:
    <?xml version="1.0"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
    xmlns:lxslt="http://xml.apache.org/xslt" xmlns:my-ext="ext1"
    extension-element-prefixes="my-ext">
    <lxslt:component prefix="my-ext"
    functions="getdate">
    <lxslt:script lang="javascript">
    function getdate() {
    var d = new Date();
    return d.toUTCString();
    </lxslt:script>
    </lxslt:component>
    <xsl:template match="/">
    <p><xsl:copy-of select="my-ext:getdate()"/></p>
    </xsl:template>
    </xsl:stylesheet>
    recieve error-message:
    XSL-1000: (Fatal Error) Error while parsing XSL file (Extension function namespace should start with 'http://www.oracle.com/XSL/Transform/java/'.).
    What kind of namespace I should specify?

    Hello, Paul.
    I'm sure you may not use JavaScript as a language for creating XSLT extention functions with Oracle XDK Parser. This is since parser might have JavaScript interpreter to work with JavaScript, but it has not.
    If you need to build any XSLT extention functions you must build them as Java class' static methods.
    After that, you define the usage of the class by mean of namespace declaration as:
    xmlns:your-ns="http://www.oracle.com/XSL/Transform/java/yourpackage.Yourclass"
    (Prefix "http://www.oracle.com/XSL/Transform/java/" may differs if you use non-Oracle XML parser)
    and use class' static method in XSLT:
    <xsl:value-of select="your-ns.staticMethodName(paramsIfAny)"/>
    In your case you may wish to use standard Date class:
    xmlns:date="http://www.oracle.com/XSL/Transform/java/java.util.Date"
    <xsl:value-of select="date:toString(date:new)"/>

  • Error: "... is not a table ..." XML not correctly interpreted after XSL-transformation. Table row quantity problem.

    Hey guys, this is one of my xml-elements:
    Jaspreet Sohi 12 18 Juliane Lenz 11 17 Sophie Charlotte Stender 10 15 Rosbeh Hamidzadeh Khayyat 12 17 Lion Stoldt 12 17 Mats Lucas Meincke 6 8 Bero Luke Vincent Ernst 6 8 Cedric Roth 6 8 Soner Cantay 6 8 The following XSL Transformation I use once for transforming all "m" tags and once in order to transform all "j" tags. Please imagine the CSL-code below to be duplicated exactly. Only the "jungs"-table-Tag is replaced by "mädchen" and all underscores _j are replace by _m. As well all "select="j[@..." parts are replaced by "select="m[@...". 1 2 3 The code is very easygoing I think and not difficult to understand. As I said, I use it twice - for both transformations. The very, extremely weird thing, my problem, is that one transformation works perfectly in InDesign and a table is created for all "kategorie"-tags (all is set within a for-each loop). But the second script does not work! I simply do not get this I can't understand it. I've tried more than anything. InDesign sais (in German, so translated based on assumption) "jungs is an invalid table element or is displayed in wrong order". The second strange thing is that I can replace my "aid:trows" attribute by any number, e.g. "10" and immediately the script works fine (as there are never more than 6 "j" tags in my XML so that never the table has more than 6 rows"). But it does not want to work correctly with the actual number, my variable "rows_j". These are my variables: They are all defined before the tables for m and j are created. So finally, why (the heck) is one table created and interpreted perfectly whereas the second - immediately following the first in the XSL.script as an EXACT copy of the first - results in an error? As i've already said, I've tried really everything. For example the script works also when one of the parts "" is randomly deleted from the script. Removing one of these parts directly makes the script working. Just one of my attempts to understand the thing but this has only shown that none of these parts "cell to end-for-each" includes an error. I'm really desperate and looking forward to being rescued by one of you geniuses :)

    Hah, No worries. The forum software is, well, different.
    What would be better, though, would be a sample ID file, any XSLT/XLT files you use, and a bit of data exactly as you have it (pre-transform state). ZIP it up, upload to say dropbox.com and feel free to send me a private message for the download link.
    Too many times there is something different between samples pasted into a post and the real thing that it is sometimes less useful time-wise. I'll keep it private, of course. Then we can communicate via PMs or email until we can (hopefully) arrive together at a solution, then post what that solution is in the forum to benefit others.
    Thank you, Mike

  • XSL transformation with xsl:import generates exceptions

    I am using the Schematron's basic XSL file basic-schematron.xsl to validate the XML format of one of our data files. The XSL file looks something like this
    ================
    <xsl:stylesheet
    version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:axsl="http://www.w3.org/1999/XSL/TransformAlias">
    <xsl:import href="skeleton1-5.xsl"/>
    <xsl:template name="process-prolog">
    <axsl:output method="text" />
    </xsl:template>
    ==================
    But, the validation fails while trying to run the transformation on my Schematron input file using this basic-schematron.xsl with java.lang.NoSuchMethodError:
    ======= OUTPUT ============
    Markup Error: no match attribute on <key> outside <rule>
    Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: GregorSamsa.process$dash$root(Lcom/sun/org/apache/xalan/internal/xsltc/DOM;Lcom/sun/org/apache/xml/internal/dtm/DTMAxisIterator;Lcom/sun/org/apache/xml/internal/serializer/SerializationHandler;ILjava/lang/Object;)V
         at GregorSamsa.applyTemplates()
         at GregorSamsa.applyTemplates()
         at GregorSamsa.transform()
         at com.sun.org.apache.xalan.internal.xsltc.runtime.AbstractTranslet.transform(AbstractTranslet.java:594)
         at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:640)
         at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:279)
         at com.solipsa.xsdvalidator.XSDValidator.validateSchematron(XSDValidator.java:137)
         at com.solipsa.xsdvalidator.XSDValidator.validate(XSDValidator.java:181)
         at com.solipsa.xsdvalidator.XSDValidatorUI.jButton1ActionPerformed(XSDValidatorUI.java:244)
         at com.solipsa.xsdvalidator.XSDValidatorUI.access$300(XSDValidatorUI.java:21)
         at com.solipsa.xsdvalidator.XSDValidatorUI$4.actionPerformed(XSDValidatorUI.java:140)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
         at java.awt.Component.processMouseEvent(Component.java:5488)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3093)
         at java.awt.Component.processEvent(Component.java:5253)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3955)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1766)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    ============= OUTPUT ==============
    I tried the individual JAXP 1.3 for J2SDK 1.4.2 (Using the -Djava.endorsed.dirs JVM param) and tried the JDK 1.5.0_02 which has JAXP 1.3 inbuilt and they all fail.
    I tried the above with separate Xalan/Xerces jar files, and then it works fine.
    The problem seems to be somthing specific to the JAXP 1.3 environment. I can provide more details, if required. Any help is highly appreciated.

    One morning your code woke up and found it had been transformed into a giant insect.
    But seriously, here's the name of the method that doesn't exist:GregorSamsa.process$dash$rootIs GregorSamsa your class? Maybe your server has an old version of it which is missing that method? (Or: those $ signs look strange to me, maybe they are a mistranslation of some other character?)

  • How do I halt an xsl transform on detection of a logical error?

    I am using a transform in BPEL to process incoming data.
    I would like to halt a transform on an error? I tried the following and it seems to work; however, jdev produces an error trying to parse after switching to the design mode.
    <xsl:if test='not($expectedValue = $actualValue)'>
    <xsl:message terminate="yes"></xsl:message>
    </xsl:if>
    Line Number:(xxx) : Error: "xsl:message" XSL Element Currently not Supported
    I tried to use error() as well but that produces an error "Failed to transform source xml." "XSL_MAP_EXEC_ERROR" null.
    If you have a reference to a best practice that would be appreciated.
    Thanks,
    John

    Okay, I've....
    1) Reinstalled XE, to start from scratch
    2) Went in to SQL*Plus, did a "create pfile from spfile;"
    3) Shutdown the database
    4) Started it up in MOUNT mode
    5) Ran NID, to change the database name from 'XE' to 'CTXMGMT'
    6) Shutdown the database again
    7) Edited the pfile to change the database name (i.e. "db_name='CTXMGMT'")
    8) Started up the database
    And that worked! So that's good... but now my question is:
    How do I change the SID for the database? Currently, the instance name for the database is still 'XE'....
    SQL> select instance_name
    2 from v$instance;
    INSTANCE_NAME
    xe
    I'd like it so a connection could be made to the database with the tnsnames.ora file looking like this:
    CTXMGMT =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(Host = rodin)(Port = 1521))
    (CONNECT_DATA = (SID = CTXMGMT))
    Could someone explain how to get the database to this state? Thanks.
    - Gary

Maybe you are looking for

  • How to create report which includes records of current month and last 7 days of previous month.

    Hi Experts, I need to create a report which includes records of current month and last 7 days of previous month. I will get records of current month by this formula :- month({PROBSUMMARYM1.OPEN_TIME})=month(currentdate) Please tell me how to add the

  • Exchange Rate Difference Posting

    Dear Gurus, I am facing atypical scenario in Production and development Clients.While clearing open items for a BanlK GL (USD Currency) in production there is no exchange differences being calculated by the syste.There is difference in Exchange rates

  • Method to lock alignment guides (pages 5.5)

    Is there a method to lock "alignment guides" in Pages?     I seem to be constantly grabbing them accidentally.  Probably just moving too fast.  But was hoping there would be a method to lock them in position once they are set-up.  Thank-you,  John L.

  • Mail attachement converted into payload in xi

    Hi all, does anybody have a clue, why sometimes I receive mail attachement sent from MailServer to XI as Attachement (thats correct) and sometimes (2% of all messages) the attachement from Mailserver is converted into payload of xml message in XI. If

  • Using SQLCMD variables in SQL Server Unit Test Project

    Is it possible to use SQLCMD variables in my SQL Server Unit Test Project? In my test initialize script I'd like to set a database name variable, something like this: :SETVAR MyDatabase "mydatabase" SELECT * FROM [$(MyDatabase)].[mytable] but I get s