Docbook.xsl processing error on XSQL XML output

Hi all,
I've got an XSQL page query which returns a docbook-schema-valid document in XML. I've written a simple xsl stylesheet to test the output and the results are as expected. I now want to use the docbook.xsl designed by Norman Walsh but I'm getting an error with some of the included templates. When I investigate the problem templates, I notice a document declaration that I've never seen before. When I exclude the offending template by commenting out the include statement, processing continues until it reaches another template which has the the same 'mixed' document declaration. Due to the way the docbook stylesheet elements and variables are structured, it is not possible to exclude all the stylesheets with the 'mixed' declaration - plus it defeats the purpose of using the docbooks framework in the first place.
The details of the various pages are:
1) XSQL page
<?xml version = '1.0' encoding = 'UTF-8'?>
<?xml-stylesheet type="text/xsl" href="/WEB-INF/docbook/html/docbook.xsl" ?>
<page xmlns:xsql="urn:oracle-xsql" connection="jdbc/DBConnection1DS">
<xsql:query max-rows="1" null-indicator="yes" tag-case="lower">
SELECT extractValue(x.DOCBOOKS_DOC, '/book/part/title', 'xmlns="http://docbook.org/ns/docbook"') "BOOK_TITLE",
extract(x.DOCBOOKS_DOC, '/book/part/chapter/sect1/sect2', 'xmlns="http://docbook.org/ns/docbook"') "BOOK_CONTENT"
FROM DOCBOOKS_STORE x</xsql:query>
</page>
2) The docbook.xsl
<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:d="http://docbook.org/ns/docbook"
xmlns:ng="http://docbook.org/docbook-ng"
xmlns:db="http://docbook.org/ns/docbook"
xmlns:exsl="http://exslt.org/common"
exclude-result-prefixes="db ng exsl d"
version='1.0'>
<xsl:output method="html"
encoding="ISO-8859-1"
indent="no"/>
<xsl:include href="../VERSION"/>
<xsl:include href="param.xsl"/>
<xsl:include href="../lib/lib.xsl"/>
<xsl:include href="../common/l10n.xsl"/>
<xsl:include href="../common/common.xsl"/>
<xsl:include href="../common/labels.xsl"/>
<xsl:include href="../common/titles.xsl"/>
<xsl:include href="../common/subtitles.xsl"/>
<xsl:include href="../common/gentext.xsl"/>
<xsl:include href="../common/targets.xsl"/>
<xsl:include href="../common/olink.xsl"/>
<xsl:include href="../common/pi.xsl"/>
<xsl:include href="autotoc.xsl"/>
<xsl:include href="autoidx.xsl"/>
<xsl:include href="lists.xsl"/>
<xsl:include href="callout.xsl"/>
3) When the XSQL page is run, the follwing error is encountered:
Oracle XML Developers Kit 10.2.0.1.0 - Production
XML-25011: Error processing XSLT stylesheet: /WEB-INF/docbook/html/docbook.xsl
file://var/app/oracle/appserv/product/10.1.3/OracleAS_1/j2ee/home/applications/MCMCIntroHomePage1/MCMCIntroHomePage1/WEB-INF/docbook/html/docbook.xsl: XML-22002: (Fatal Error) Error while processing include XSL file (autoidx.xsl).
4) The included stylesheet - autoidx.xsl - has the following declaration
<?xml version="1.0"?>
<!DOCTYPE xsl:stylesheet [
<!ENTITY % common.entities SYSTEM "../common/entities.ent">
%common.entities;
]>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:d="http://docbook.org/ns/docbook"
xmlns:exslt="http://exslt.org/common"
extension-element-prefixes="exslt"
exclude-result-prefixes="exslt d"
version="1.0">
It's this 'mixed' stylesheet declaration that appears to cause the XLST processor problems.
Any suggestions as to how I might overcome this issue?
Thanks
George

Unfortunately yes. I get the following error message from JDeveloper's XML editor.
' Missing entity 'primary' '
I've even tried excluding all the xsl's with similar DTDs but then you start to get the following error messages from after running the XSQL page:
XML-25011: Error processing XSLT stylesheet: /WEB-INF/docbook/html/docbook.xsl
file://var/app/oracle/appserv/product/10.1.3/OracleAS_1/j2ee/home/applications/MCMCIntroHomePage1/MCMCIntroHomePage1/WEB-INF/docbook/html/index.xsl<Line 62, Column 50>: XML-22049: (Error) Template 'generate-index' invoked but not defined.
or
XML-25011: Error processing XSLT stylesheet: /WEB-INF/docbook/html/docbook.xsl
file://var/app/oracle/appserv/product/10.1.3/OracleAS_1/j2ee/home/applications/MCMCIntroHomePage1/MCMCIntroHomePage1/WEB-INF/docbook/html/param.xsl<Line 287, Column 36>: XML-22031: (Error) Variable not defined: 'pixels.per.inch'.
And the problem just escalates the more stylesheets you exclude. It's the cross-referencing structure of the docbooks that causes this.
I'm now wondering if there's anyone who has managed to use the standard docbook.xsl with Oracle XSQL?

Similar Messages

  • XSL and FSG report with XML output

    I have 5 FSG Reports combined into one reportset. all these reports output type as XML. Once the reportset is submitted and all the FSG reports are completed , i want to call a XSL program which will combine all the 5 FSG XML outputs. Please advice me how to use the xsl program to combine all the FSG XML Outputs.

    Phew thats gonna be some XSL bearing in mind how complex the FSG XML is. How much data are we talking about here ? There might be a simpler solution as long as there is not a huge amount of data.
    REgards, Tim

  • Error in getting xml output from Apps

    I have developer 10g. Whatever report (rdf) I create I face exactly the same problem. I register the report (rdf) in Apps and select xml format as the output. But when I run it to get the xml file, I get the following error
    The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
    A semi colon character was expected. Error processing resource 'http://XXXX.XXXX.XXX.XXX:8000/OA_CGI/FNDWRR.exe?temp_id=3547...
    <?xml version="1.0" encoding="&Encoding"?>
    ---------------------------------------^If I use Reports 6i to create exactly the same report (rdf) everything works fine (i.e I get the xml file when I run it).
    What is the issue with 10g?

    If you have & or any other special characters like < ,>
    & lt;      <      less than
    & gt;      >      greater than
    & amp;      &      ampersand
    & apos;      '      apostrophe
    & quot;      "      quotation mark
    these , have to replaced by the equivalent in the sql queries. to get like & lt; , & gt; ,
    because these are pre-defined in XML , so the xml will error out , if you any of these characters in the xml element value.

  • Help: A strange xsl processing error

    Hi,
    I get a strange XSLException when using the following template:
    <xsl:template match="complexType | group | sequence">
    <xsl:param name='path'><xsl:value-of select='$SEPARATOR'/></xsl:param>
    <xsl:apply-templates select='./*'>
    <xsl:with-param name='path'>
    <xsl:value-of select='$path'/>
    </xsl:with-param>
    </xsl:apply-templates>
    </xsl:template>
    The error I receive is: 'Variable "path" is not defined'.
    At the same time, the following template:
    <xsl:template match="element[*]"> <xsl:param name='path'><xsl:value-of select='$SEPARATOR'/></xsl:param>
    <xsl:apply-templates select="./*">
    <xsl:with-param name='path'>
    <xsl:value-of select='$path'/><xsl:value-of select='$SEPARATOR'/><xsl:value-of select='./@name'/>
    </xsl:with-param>
    </xsl:apply-templates>
    </xsl:template>
    does not generate any exceptions.
    I use Oracle XML Parser v.2.0.2.9
    I have processed this xsl with an IBM's xsl processor (using their XSL Editor) and it was alright...

    This has been posted and answered many time on these forums - please use the Search function at the top of the page.

  • The device is in use by another process - error - cannot select Multi Output Device - Mac OSX 10.8.2

    Dear Adobe Users!
    Please help!
    I'm using Adobe Audition CS5.5 on a Mac - OSX 10.8.2 (latest version of Mountain Lion) and I'm trying to select a Multi-Output device.
    This was working FINE last few days - today, I get an error. I've tried to re-install Adobe Audition and that hasn't fixed the problem. When it first started up it said it couldn't find any audio devices at all.
    Please can you help? I'm getting a message saying the device is being used by another process - but it's not being used by anything else at all!
    Hope you are able to help! I use the multi output device option so I can record what I can hear. I spent two days trying to sort that out after it all-of-a-sudden didn't work last Thursday.
    Now just spent last two hours trying to get Adobe to recognise the Multi Output device - it's been working fine last few days!
    Many thanks if you're able to help!
    - Rory

    Durin,
    May have sussed it! It seems that Built-in output was the way to have it for Audition CS5.5 to record what I'm hearing! Yes, the multi-device needs to be used - but in another settings.
    Here's how I have each section configured and it now works!
    First of all, in Audition > Preferences > Audio Hardware:-
    Then, on the Mac's OS - System Preferences > Sounds (input settings)
    Then Output settings :-
    Then Midi Settings found in Finder > Applications > Utilities > Audio MIDI set up
    All now seems to be working! I'll let you know if anything further happens!
    I was certain I had the output device as Multi Device Output on Adobe before, perhaps it should've been set to Built-in Audio all along. Anyway, I re-installed my Mac from Time Machine, logged in as another user and it worked under that profile, then logged back in as me - and am using the settings in the pics above and all seems to be working!
    It's been a long week, perhaps I was just going around in circles and didn't actually test these particular settings yesterday in this order after all.
    Thanks again for your help! Sorry if I've caused any confusion!

  • 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

  • XML Publisher post-processing error 'java.io.FileNotFoundException'

    Hi,
    We are getting following XML Publisher post-processing error while running XML Publisher report.
    It was working earlier but suddenly its erroring out.
    [9/07/10 9:00:17 PM] [OPPServiceThread1] Post-processing request 559655.
    [9/07/10 9:00:18 PM] [39177:RT559655] Executing post-processing actions for request 559655.
    [9/07/10 9:00:18 PM] [39177:RT559655] Starting XML Publisher post-processing action.
    [9/07/10 9:00:18 PM] [39177:RT559655]
    Template code: XXHPOXPRRFLR
    Template app: XXH
    Language: en
    Territory: 00
    Output type: PDF
    [9/07/10 9:00:18 PM] [UNEXPECTED] [39177:RT559655] java.io.FileNotFoundException: /apps/oracle/DEV/inst/apps/DEV_hlt439erplap001/logs/appl/conc/out/o559655.out (No such file or directory)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:274)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:173)
    [9/07/10 9:00:18 PM] [39177:RT559655] Completed post-processing actions for request 559655.
    Please help me out to resolve this issue.
    Thanks & Regards,
    Sagarika

    Hi,
    java.io.FileNotFoundException: /apps/oracle/DEV/inst/apps/DEV_hlt439erplap001/logs/appl/conc/out/o559655.out (No such file or directory)Most probably this file is not created (since no changes have been done recently, so definitely it is not a permission issue), and if there are any log files generate at the client side it should help in investigating the issue.
    Thanks,
    Hussein

  • BPEL Process Errors at XML Gateway

    Hi
    I am in the process of developing AP Invoice Inbound process using BPEL.
    Process errored outs at XML Gateway with below error.
    The Standard:OAG, Transaction Type:AP , Transaction SubType:INI and Location Code 1 is not enabled in the XML Gateway Server. Pls check your Setup.
    I have gone through the XML Gateway setup but could not able to locate what exactly the problem.
    Could anybody help me out to fix this problem.
    Regards
    Kiran Akkiraju

    Hi,
    I am also experiencing the very same problem - does anyone have a solution for this or is this a bug?
    Thanks.
    Tony.

  • XML output in smartform

    Hello,
    My requirement is to create xml file from a smartform and iam able to do that fine but iam not sure how to create XSL file to view the xml output.
    Thanks for your help.

    H Friend,
    In Smartform, from Form Attributes -> Output Options -> Output Format you can choose either XSF format or XSD formt.
    Please press F1 and read documentation.
    Hope it will help you.
    Regards
    Krishnendu

  • XSL-1047: (Error) Invalid instantiation of 'xsl:output' in 'INSERT' context

    Following is my development environment:
    JDeveloper 9i Release Candidate
    JDeveloper JVM 1.3.1
    Oracle XML Parser v2 9.2.0.0.0
    I'm using the Oracle XML Parser V2 9.2.0.0.0 library to apply a stylesheet to an XML document. However when I invoke the call to processor.processXSL() an XSLException is thrown with the following details:
    oracle.xml.parser.v2.XSLException: <Line 1, Column 116>: XSL-1047: (Error) Invalid instantiation of 'xsl:output' in 'INSERT' context.
    exception
    Below is the sequence of events:
    // Create an instance of XSLProcessor to perform the transformation
    XSLProcessor processor = new XSLProcessor();
    // create a Reader from a String object that contains the stylesheet text
    StringReader r = new StringReader( stylesheet );
    // create a new XSL stylesheet, passing it the Reader object reference
    XSLStylesheet sheet = processor.newXSLStylesheet(r);
    // apply the stylesheet
    // the variable sheet represents the XSLStylesheet object
    // the variable source represents the XMLDocument object
    // this call throws the exception
    DocumentFragment df =
    processor.processXSL(sheet,source);
    I've included the Stylesheet and source XML file I'm processing below.
    Note: My application works fine when I use the Oracle XML Parser v2 9.0.1 library. (although I have to use new XSLStylesheet() in place of XSLProcessor.newXSLStylesheet())
    Any ideas on what has changed between the two releases? I do have a reproducible test case that I can send on if required?
    thanks in advance
    private String stylesheet =
    "<INSERT xsl:version=\"1.0\" xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\"> "+
    "<xsl:output method=\"xml\" indent=\"yes\"/> "+
    "<ROWSET table_name=\"acc_database\"> "+
    " <xsl:for-each select=\"DATABASES/DATABASE\"> "+
    " <ROW> "+
    " <DBID><xsl:value-of select=\"DBID\"/></DBID> "+
    " <DBNAME><xsl:value-of select=\"DBNAME\"/></DBNAME> "+
    " <DBSIZE><xsl:value-of select=\"DBSIZE\"/></DBSIZE> "+
    " <DBPATHNAME><xsl:value-of select=\"DBPATHNAME\"/></DBPATHNAME> "+
    " <DBUSER><xsl:value-of select=\"DBUSER\"/></DBUSER> "+
    " <DBPASSWORD><xsl:value-of select=\"DBPASSWORD\"/></DBPASSWORD> "+
    " <ISAPPDB><xsl:value-of select=\"ISAPPDB\"/></ISAPPDB> "+
    " <ISATTACHEDDB><xsl:value-of select=\"ISATTACHEDDB\"/></ISATTACHEDDB> "+
    " <CONVERTDB><xsl:value-of select=\"CONVERTDB\"/></CONVERTDB> "+
    " <VERSION><xsl:value-of select=\"VERSION\"/></VERSION> "+
    " </ROW> "+
    " </xsl:for-each> "+
    "</ROWSET> "+
    "</INSERT>";
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!-- this file was generated by the Oracle Migration Workbench Exporter for MS Access 9.2.0.1.0 on 13/02/02 15:16:52 -->
    <!-- Do not modify this file as any modification will invalidate the export and subsequent migration of your MS Access database -->
    <DATABASES>
    <DATABASE>
    <DBID>1</DBID>
    <DBNAME>xmltest</DBNAME>
    <DBSIZE>1</DBSIZE>
    <DBPATHNAME>E:\xmltest.mdb</DBPATHNAME>
    <DBUSER>xmltest</DBUSER>
    <DBPASSWORD>oracle</DBPASSWORD>
    <ISAPPDB>1</ISAPPDB>
    <ISATTACHEDDB>0</ISATTACHEDDB>
    <CONVERTDB>1</CONVERTDB>
    <VERSION>4.0</VERSION>
    <TABLES>
    <TABLE PRIMARY_KEY="1">
    <TBLID>1</TBLID>
    <DBID>1</DBID>
    <TBLNAME>xsu_test</TBLNAME>
    <CNVTABLESTRUCT>1</CNVTABLESTRUCT>
    <CNVMOVEDATA>1</CNVMOVEDATA>
    <CNVRI>1</CNVRI>
    <CNVVALIDATION>1</CNVVALIDATION>
    <CNVDEFAULT>1</CNVDEFAULT>
    <CNVADDTIMESTAMP>1</CNVADDTIMESTAMP>
    <ATTACHTABLEBACKTOACCESS>1</ATTACHTABLEBACKTOACCESS>
    <SAVEPASSWORD>0</SAVEPASSWORD>
    <CNVMAKEUPDATEABLE>1</CNVMAKEUPDATEABLE>
    <RETAINLOCALCOPY>0</RETAINLOCALCOPY>
    <SYNCWITHSERVER>1</SYNCWITHSERVER>
    <OWNERID>1</OWNERID>
    <VALIDATIONTEXT></VALIDATIONTEXT>
    <VALIDATIONRULE></VALIDATIONRULE>
    <NUMBEROFROWS>1</NUMBEROFROWS>
    <CACHINGTABLE>0</CACHINGTABLE>
    <DESCRIPTION></DESCRIPTION>
    <COLUMNS>
    <COLUMN>
    <COLID>1</COLID>
    <TBLID>1</TBLID>
    <COLNAME>id</COLNAME>
    <COLTYPE>4</COLTYPE>
    <COLTYPEDESC>Long</COLTYPEDESC>
    <COLAUTOINCR>1</COLAUTOINCR>
    <NEXTCOUNTERVALUE>0</NEXTCOUNTERVALUE>
    <MAXLENGTHSOURCE>0</MAXLENGTHSOURCE>
    <AVGLENGTHSOURCE>0</AVGLENGTHSOURCE>
    <COLTEXTSIZE>4</COLTEXTSIZE>
    <ALLOWZEROLENGTH>0</ALLOWZEROLENGTH>
    <DEFAULTVALUE></DEFAULTVALUE>
    <COLREQUIRED>1</COLREQUIRED>
    <COLCOLLATINGORDER>1033</COLCOLLATINGORDER>
    <COLORDPOSITION>1</COLORDPOSITION>
    <VALIDATIONRULE></VALIDATIONRULE>
    <VALIDATIONTEXT></VALIDATIONTEXT>
    <COLUMNDESCRIPTION></COLUMNDESCRIPTION>
    </COLUMN>
    <COLUMN>
    <COLID>2</COLID>
    <TBLID>1</TBLID>
    <COLNAME>name</COLNAME>
    <COLTYPE>10</COLTYPE>
    <COLTYPEDESC>Text</COLTYPEDESC>
    <COLAUTOINCR>0</COLAUTOINCR>
    <NEXTCOUNTERVALUE>0</NEXTCOUNTERVALUE>
    <MAXLENGTHSOURCE>0</MAXLENGTHSOURCE>
    <AVGLENGTHSOURCE>0</AVGLENGTHSOURCE>
    <COLTEXTSIZE>50</COLTEXTSIZE>
    <ALLOWZEROLENGTH>0</ALLOWZEROLENGTH>
    <DEFAULTVALUE></DEFAULTVALUE>
    <COLREQUIRED>1</COLREQUIRED>
    <COLCOLLATINGORDER>1033</COLCOLLATINGORDER>
    <COLORDPOSITION>2</COLORDPOSITION>
    <VALIDATIONRULE></VALIDATIONRULE>
    <VALIDATIONTEXT></VALIDATIONTEXT>
    <COLUMNDESCRIPTION></COLUMNDESCRIPTION>
    </COLUMN>
    </COLUMNS>
    <INDEXES>
    <INDEX>
    <INDID>1</INDID>
    <TBLID>1</TBLID>
    <DBID>1</DBID>
    <INDNAME>id</INDNAME>
    <CNVINDEX>1</CNVINDEX>
    <ISPRIMARY>0</ISPRIMARY>
    <ISUNIQUE>0</ISUNIQUE>
    <ISFOREIGN>0</ISFOREIGN>
    <IGNORENULLS>0</IGNORENULLS>
    <ISREQUIRED>0</ISREQUIRED>
    <INDEX_COLUMNS>
    <INDEX_COLUMN>
    <INDCOLID>1</INDCOLID>
    <INDID>1</INDID>
    <COLID>1</COLID>
    <COLORDER>1</COLORDER>
    </INDEX_COLUMN>
    </INDEX_COLUMNS>
    </INDEX>
    <INDEX>
    <INDID>2</INDID>
    <TBLID>1</TBLID>
    <DBID>1</DBID>
    <INDNAME>PK_xsu_test</INDNAME>
    <CNVINDEX>1</CNVINDEX>
    <ISPRIMARY>1</ISPRIMARY>
    <ISUNIQUE>1</ISUNIQUE>
    <ISFOREIGN>0</ISFOREIGN>
    <IGNORENULLS>0</IGNORENULLS>
    <ISREQUIRED>1</ISREQUIRED>
    <INDEX_COLUMNS>
    <INDEX_COLUMN>
    <INDCOLID>2</INDCOLID>
    <INDID>2</INDID>
    <COLID>1</COLID>
    <COLORDER>1</COLORDER>
    </INDEX_COLUMN>
    </INDEX_COLUMNS>
    </INDEX>
    </INDEXES>
    </TABLE>
    </TABLES>
    <RELATIONS>
    </RELATIONS>
    </DATABASE>
    <ATTACHED_TABLES>
    </ATTACHED_TABLES>
    </DATABASES>

    Your problem is that your stylesheet is illegal.
    You're using the "simple form" of the stylesheet which
    is equivalent to having a single root template.
    If you use the simple form, you cannot use: <xsl:include>,
    <xsl:import>, <xsl:output>, <xsl:param>
    or any other <xsl:XXX> element which must be at the "top-level"
    of the stylesheet.
    The solution is to change from:
    <INPUT xsl:version="1.0" xmlns:xsl="...">
       <xsl:output>
    </INPUT>.
    which is illegal to:
      <xsl:stylesheet version="1.0" xmlns:xsl="...">
        <xsl:output>
        <xsl:template match="/">
          <INPUT>
          </INPUT>
        </xsl:template>
      </xsl:stylesheet>

  • Performance xsql:xml-include vs. xsl:document(...)  !

    Dear Steve,
    I have html markup file stored in XHTML format which is, of
    course, XML. Also, I put <marker id="some_name"/> in all places
    where I want XSLT injections.
    My XSLT is something like this:
    <?xml version="1.0"?>
    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="html" indent="yes"/>
    <xsl:variable name="markup" select="document('MyMarkup.xml',/)"/>
    <xsl:template match="@* | node()">
    <xsl:copy>
    <xsl:apply-templates select="@* | node()"/>
    </xsl:copy>
    </xsl:template>
    <xsl:template match="/">
    <xsl:for-each select="$markup">
    <xsl:apply-templates select="html"/>
    </xsl:for-each>
    </xsl:template>
    <xsl:template match="html">
    <xsl:copy>
    <xsl:copy-of select="@*"/>
    <xsl:apply-templates/>
    </xsl:copy>
    </xsl:template>
    <xsl:template match="markup[@id='script']">
    <!-- do something here -->
    </xsl:template>
    </xsl:stylesheet>
    Now, here is the question. What is most efficient way to use
    this Markup technique?
    Is it <xsql:include-xml href=MyMarkup.xml/> in XSQL page
    and XSL processing the composite document or xsl:document
    function as I described?
    What is cached by XSQL servlet, if anything?
    The "markup" technique provides clear separation of labor and
    layers.
    And it is crucial to have it perform well. I think, that it
    would be very easy to cache xsql:include-xml document once and
    for all sessions or have a special attribute in this tag to
    explicitly ask for this.
    Sincerely,
    David

    ( I can't use
    <xml:transform>
    because this expects the xsl file as a parameter )But you know the name of the xsl file, so that shouldn't be a problem, correct...?
    But as to your question, the xml file is a static file, so the jsp:include will copy its contents (it acts like <%@ import %> in this case...). The jsp will only process the page if it detects it as a dynamic page, ie Servlet or JSP.
    Perhaps you can make an intermediary JSP that transforms the xml... I have never tried it, but would:
    //Intermediary JSP:
    <jsp:forward page="./stocks2.xml" />
    //then in the primary JSP
    <jsp:include page="./intermediary.jsp"/>It might fool the jsp:include into thinking the content is dynamic, while the jsp:forward would take care of processing the XML. That assumes that once the jsp:forward is done that the rest of the primary jsp will be handled... not sure if that is the case though...

  • Runtime error!  when doing XML output

    Hi,
    I am really stuck with this error...
    When running a script to genarate a XML file I keep getting
    an error. The error looks like it is coming from IE:
    Microsoft Visual C++ Runtime Library
    Runtime Error!
    Program: C:\Program Files\Internet Explorer\IEXPLORE.EXE
    This application has requested the runtime terminate it in an
    unusual way.
    Please contact the application support team for more
    information.
    OK
    The script works and genarates the XML output for small
    requests but I get this error when I try to get it to process
    several thousand rows. I need it to be able to process tens of
    thousands of rows!
    Please can someone point me in the right direction for a
    cause/solution to this.
    I have tried putting the script in a <cftry>
    <cfcatch> tag to get an error report but I still get the
    error and when I click "OK" all instancs of IE close.
    CF7 & IE7 (I also got the error in IE6)
    Regards,
    Chris.

    Actually it also happens when I don't do a network migration. I choose -
    create - and it errored when I choose Current User.
    >>> Kevin VanSchepen<[email protected]> 3/23/2006 9:37 AM >>>
    I get a Visual C++ Runtime error on DesktopDNA.exe (abnormal program
    termination)
    - It happens when I am doing a network migration (with and without
    crossover
    connection)
    - The moment I choose Current User or when I choose next after choosing the
    user in Multiple Users
    - It works on other machines, could it be something to do with the user
    account I am trying to migrate?
    Kevin VanSchepen

  • Transform LiveCycle form xml output using xsl

    I've completed my first form but now want to format the xml that's generated.
    Whilst I work for a big Company, I don't think they'll stretch to purchasing the Reader Extensions Module so I can output as PDF. Also there will be more than 500 users completing the form, so I can't just extend the rights using Adobe Acrobat.
    Therefore, I'd like to transform the xml created using xsl (as I have knowledge in this area) - I'd like the transformation to occur when the form is submitted via email so that a 'friendly' attachment is added to the email and not the xml output.
    Any ideas on this one?

    First thing is, the fonts did not work in my system.. So I can not really understand where the email address fields are..
    Few things:
    1) You have used an Email submit button and tried to place the code in the MouseDown event.
        You need to change this button to "Regular Type Button". and place the code in the Click event to work.
    2) I placed a sample button and put in my code for your reference.. This is working fine..You can check the below sample.
    https://acrobat.com/#d=tQa4E*8aA*mJq6aijSHuDQ
    3) You can do the same way for your form..
    4) If you have Acrobat software, you can enable JavaScript debugger which can give you the specific error message rather than Submit cancelled. If you do not, then you need to put some messageBox statements and check..
    Thanks
    Srini

  • XSQL/XML/XSL Portlet

    How can I use XSQL in Oracle Portal, for different display types? All examples use the old fashioned JSPs or Servlets. We are willing to use XML/XSL technology, but we do not know how to satisfy the requirements for different display types while using these technologies. Where can we find examples utilizing XSQL/XML/XSL technologies? Or does Oracle keep these technologies apart from the portal technology?

    I have already written application in XSQL and XSLT.I want to convert it into oracle portlet.I tried to use URL portlet.Using URL portlet The links are converted to javascript:submitURL2166(' http://servername/root/filename.xsql') and working fine but there are few javascripts call also on the page which are getting converted like this :
    "javascript:submitURL2166('javascript:popupwindow2("filename.xsql",123,0);')"
    and when I click on those links I get following ERROR trace in logs
    ERROR: Failed to handle HTTP Request
    oracle.portal.provider.v2.security.AccessControlException: unknown protocol: javascript
    at oracle.portal.utils.v2.ContainerException.fillInStackTrace(Unknown Source)
    at java.lang.Throwable.<init>(Throwable.java:195)
    at java.lang.Exception.<init>(Exception.java:41)
    at oracle.portal.utils.v2.ContainerException.<init>(Unknown Source)
    at oracle.portal.provider.v2.PortletException.<init>(Unknown Source)
    at oracle.portal.provider.v2.security.AccessControlException .<init>(Unknown Source)
    at oracle.portal.provider.v2.render.http.URLRenderer.renderBody(Unknown Source)
    at oracle.portal.provider.v2.render.RenderManager.render(Unknown Source)
    at oracle.portal.provider.v2.DefaultPortletInstance.render(Unknown Source)
    at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.showPortlet(Unknown Source)
    at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.handleHttp (Unknown Source)
    at sun.reflect.GeneratedMethodAccessor226.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke (Method.java:324)
    at oracle.webdb.provider.v2.adapter.SOAPServlet.doHTTPCall(Unknown Source)
    at oracle.webdb.provider.v2.adapter.SOAPServlet.service(Unknown Source)
    at javax.servlet.http.HttpServlet.service (HttpServlet.java:853)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.2.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:782)
    at com.evermind[Oracle Application Server Containers for J2EE 10g ( 9.0.4.2.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.2.0)].server.http.HttpRequestHandler.processRequest( HttpRequestHandler.java:794)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.2.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
    at com.evermind[Oracle Application Server Containers for J2EE 10g ( 9.0.4.2.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
    at com.evermind[Oracle Application Server Containers for J2E
    I want to know how these javascripts call can be handled while using url portlets or there is any other way to convert xsql and xslt application in oracle portlet .
    I will have to use
    <inlineRendering>true</inlineRendering>
    in provider.xml because I want to get contents in same portlet.
    Below is my provider.xml
    <provider class="oracle.portal.provider.v2.http.URLProviderDefinition">
    <providerInstanceClass>oracle.portal.provider.v2.http.URLProviderInstance</providerInstanceClass>
       <session>true</session>
       <passAllUrlParams>true</passAllUrlParams>
        <portlet class="oracle.portal.provider.v2.http.URLPortletDefinition">
          <id>2</id>
          <name>XsqlPortletURL</name>
          <title>XsqlPortletURL</title>
          <description>Portlet Description</description>
          <timeout>100</timeout>
          <showEditToPublic>false</showEditToPublic>
          <hasAbout>false</hasAbout>
          <showEdit>false</showEdit>
          <hasHelp>false</hasHelp>
          <showEditDefault>false</showEditDefault>
          <showDetails>false</showDetails>
          <renderer class="oracle.portal.provider.v2.render.RenderManager">
             <showPage class="oracle.portal.provider.v2.render.http.URLRenderer">
             <contentType>text/html</contentType>
             <pageUrl>http://servername/Root/file_name.xsql?cus_id=306826</pageUrl>
             <filter class="oracle.portal.provider.v2.render.HtmlFilter ">
              <inlineRendering>true</inlineRendering>
             <headerTrimTag><body</headerTrimTag>
             <footerTrimTag>/BODY></footerTrimTag>
             </filter>
             </showPage>
           </renderer>
       </portlet>
    </provider>
    Any help will be greatly appreciated.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • EAI Error logging  - Log input/output XML to table

    Hi Gurus,
    In our project we are designing error handling mechanism for our EAI workflows.
    Along with the common fields, generally we use in such scenarios (Object type, Row_id, User Login, Workflow Process,Error Code, Error Message..etc) we would like to save the input and output XML to the EAI log table.
    Here I have couple of questions.
    1) Is it a best approach to store all I/O messages to the table, ofcourse XML message size is not hude, it is just customer profile information without any child objects.
    2) Which data type will support in Siebel and Oracle DB of the table column to store the XML message. Do we need any conversion from XML to normal string to store the XML.
    3) How others (other projects) make use of this kind of error log table. Do I need to design BC, BO, Applet and view for this?
    Please provide me your valuable suggestions.
    Regards
    user4619223

    Please have a look at Metalink(metalink3.oracle.com) HowTo:
    Are there vanilla tables existing in Siebel schema that log system errors? (Doc ID 860443.1)
    If you are looking into doing this.
    Axel

Maybe you are looking for