Xmltype.transform() with stylesheet that includes another stylesheet

I' trying to use xmltype.transform() with a stylesheet that includes/imports another stylesheet. But this results in a 'ORA-03113: End of communication channel'. Is xsl:include or xsl:import supported?
This is the first stylesheet:
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
     <xsl:import href="company2.xsl"/>
     <xsl:template match="/">
          <xsl:apply-templates select="company"/>
     </xsl:template>
</xsl:stylesheet>
And this the second stylesheet:
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
     <xsl:template match="company">
          Company: <xsl:value-of select="."/>
     </xsl:template>
</xsl:stylesheet>
Both stylesheets are stored in the Oracle XDB Repository in folder '/public/test'.
The following script results in an error:
declare
l_xsl xmltype;
l_xml xmltype;
l_xml2 xmltype;
begin
l_xsl := xdburitype('/public/test/company.xsl').getxml();
l_xml := xmltype('<company>Oracle</company>');
l_xml2 := l_xml.transform(l_xsl);
end;
I tried the following values for the href attribute of xsl:include:
company2.xsl
/public/test/company2.xsl
http://<host>:<port>/public/test/company2/xsl
I also tried to use xsl:import instead of xsl:include with the above attribute values for href. In all cases I get the ORA-03113.
Thanks for any help, hints or tips.
Erwin Groenendal

Did you look in the database alert log or in the database log area to see if any trace file was generated by your error? The listener.log may have more information too.
Also, you can trace your session to see what is happening.
alter session set sql_trace = true;
run sql
alter session set sql_trace = false;
or
alter session set events '10046 trace name context forever, level 12';
or TURN on TRACING for any SESSION
execute sys.dbms_system.set_sql_trace_in_session -
(sid => &sid, serial# => &serial#, sql_trace => true);
run sql
execute sys.dbms_system.set_sql_trace_in_session -
(sid => &sid, serial# => &serial#, sql_trace => false);
HTH
M.

Similar Messages

  • Trouble with templates that include JavaScript and jquery information.

    I built a page that includes a JavaScript gallery and tried to save that as my main template since the majority of my pages will have variations of that gallery. Everything seems fine until I try to add an editable region. Regardless of where I add one (like for my content div tag - so I can edit everything in my content region), I lose my gallery. I was able to keep it working on one try but I couldn't edit the javascript in subsequent pages. For example, one of my pages that didn't have the gallery still had the scripts for it in the uneditable template code, so a blaring "fatal error" comes up whenever I try to view that page in a browser.  Once I tried to deal with that by making the header editable (so I could add or delete scripts) I once again lost my gallery.
    So my question is, how do I make those areas of my template code editable without losing my gallery? Sorry if I'm not explaining this well, or using incorrect terms. All I know about CSS I've learned in the last two weeks through Lynda.com tutorials and scouring the web for other help. My brain's pretty fried from all this and at this point I'd love some assistance. Thanks in advance for any help.
    Oh, I'm on a Mac Pro using Dreamweaver CS5. Files are HTML5 and CSS3.
    Here's the code for the page minus any editable regions (this is from the page I made to use as my template). This works perfectly for me in all the browsers I've tried. Until I try to make it a template with editable regions. I've shortened it where I can:
    <!DOCTYPE HTML>
    <html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>PENICKart.com - illustration, comics, storyboards, and design specialist</title>
        <script type="text/javascript">
        function MM_preloadImages() { //v3.0
          var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
            var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
            if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
        </script>
        <script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js">
        </script>
        <script src="galleria/galleria-1.2.8.min.js">
        </script>
        <script type="text/javascript" language="javascript" src="js/hoverIntent.js">
        </script>
              <script type="text/javascript" language="javascript" src="js/jquery.dropdown.js">
        </script>
      <link href="CSSstyles/penickart2012.css" rel="stylesheet" type="text/css" media="screen, projection">
      <link href="CSSstyles/ie.css" rel="stylesheet" type="text/css" media="screen, projection">
    </head>
    <body bgcolor="#000000" background="assets/MainGraphics/2012bgimage.jpg">
      <div class="container">
        <div class="header"><a href="#"><img src="assets/MainGraphics/2012logo.png" alt="PENICKart logo" name="PENICKart logo" width="105" height="107" align="left" id="Insert_logo" style="display:block; padding-top: 1px; padding-right: 20px;" title="PENICKart logo"></a> <h1><em>PENICKart.com</em></h1>
        </div>
        <div class="sidebar1">
          <hr class="h10">
          <ul class="flyout">
            <li><a href="index.html">HOME</a></li>
          </ul>
          <hr class="h10">
          <ul class="flyout">
            <li><a href="illustration.html">Illustration <img src="assets/MainGraphics/submenu_spacer.png" width="4" height="10"></a>
              <ul class="flyout ul">
                        <li><a href="#">spot: b/w</a></li>
                <li><a href="#">spot: color</a></li>
                <li><a href="#">posters/covers</a></li>
              </ul>
            </li>
            <li><a href="comics.html">Comics <img src="assets/MainGraphics/submenu_spacer.png" width="4" height="10"></a>
              <ul class="flyout ul">
                <li><a href="#">corporate/educational</a></li>
                <li><a href="#">popular fiction</a></li>
                <li><a href="#">creator-owned</a></li>
                <li><a href="#">covers/pin-ups</a></li>
              </ul>
            </li>
            <li><a href="film.html">Film</a></li>
            <li><a href="advertising.html">Advertising <img src="assets/MainGraphics/submenu_spacer.png" width="4" height="10"></a>
              <ul class="flyout ul">
                        <li><a href="#">storyboards: b/w</a></li>
                <li><a href="#">storyboards: color</a></li>
                <li><a href="#">print</a></li>
                <li><a href="#">animatic</a></li>
              </ul>
            </li>
            <li><a href="graphicd.html">Design <img src="assets/MainGraphics/submenu_spacer.png" width="4" height="10"></a>
              <ul class="flyout ul">
                        <li><a href="#">interactive displays</a></li>
                <li><a href="#">icons/logos</a></li>
              </ul>
            </li>
          </ul>
      <hr class="h10">
           <ul class="flyout">
            <li><a href="about.html">About</a></li>
          </ul>
          <hr class="h10">
          <ul class="flyout"> 
            <li><a href="store.html">Storefront</a></li>
          </ul>
          <hr class="h10">
          <ul class="flyout">
            <li><script type="text/javascript" language="javascript">
      <!--
      ML=".C/epc@mgnt>:ifhrTNAa =k\"<olO";
      MI="IDE?@3>FH7D=K:J<439=5GD@:687D=K05J7H;1LBAC1AI2D;";
      OT="";
      for(j=0;j<MI.length;j++){
      OT+=ML.charAt(MI.charCodeAt(j)-48);
      }document.write(OT);
      // --></script>
      <noscript>You need JavaScript to see my email address</noscript></li>
          </ul>
          <hr class="h10">
          <ul class="flyout">
            <li><a href="#">Blogger</a></li>
            <li><a href="#">Facebook</a></li>
            <li><a href="#">Twitter</a></li>
            <li><a href="#">DeviantArt</a></li>
          </ul> 
        </div>
        <div class="content">
          <h3>Spot Illustration: black/white</h3>
          <div id="galleria">
                  <a href="assets/ContentImages/IllImages/illBWspotGimages/illBWspotG40.png">
                      <img title="black and white spot illustration 40"
                           alt="Helen of Troy; digital; Planet Pulp submission; WIP"
                           src="assets/ContentImages/IllImages/illBWspotGthumbs/illBWspotGth40.jpg">
                  </a>
                  <a href="assets/ContentImages/IllImages/illBWspotGimages/illBWspotG39.jpg">
                      <img title="black and white spot illustration 39"
                           alt="Carrie Fisher; digital; study"
                           src="assets/ContentImages/IllImages/illBWspotGthumbs/illBWspotGth39.jpg">
                  </a>
                  <a href="assets/ContentImages/IllImages/illBWspotGimages/illBWspotG38.png">
                      <img title="black and white spot illustration 38"
                           alt="Black Widow v2; traditional and digital; private commission"
                           src="assets/ContentImages/IllImages/illBWspotGthumbs/illBWspotGth38.jpg">
                  </a>
                  <a href="assets/ContentImages/IllImages/illBWspotGimages/illBWspotG37.png">
                      <img title="black and white spot illustration 37"
                           alt="Swinging Batman; traditional pen and ink; private commission"
                           src="assets/ContentImages/IllImages/illBWspotGthumbs/illBWspotGth37.jpg">
                  </a>
                  <a href="assets/ContentImages/IllImages/illBWspotGimages/illBWspotG36.png">
                      <img title="black and white spot illustration 36"
                           alt="statue of angel; digital; study"
                           src="assets/ContentImages/IllImages/illBWspotGthumbs/illBWspotGth36.jpg">
                  </a>
                  <a href="assets/ContentImages/IllImages/illBWspotGimages/illBWspotG35a.jpg">
                      <img title="black and white spot illustration 35a"
                           alt="Jodi Foster; digital; study close up"
                           src="assets/ContentImages/IllImages/illBWspotGthumbs/illBWspotGth35.jpg">
                  </a>
          </div>
          <p>
          </p>
        </div>
        <div class="sidebar2">
        </div>
        <div class="footer">
          <p>All work is created as a part of PENICKart, Ltd. ©2012 Michael Penick and/or the respective copyright owners.</p>
        </div>
      </div>
      <script>
        // Load the Twelve theme
        Galleria.loadTheme('galleria/themes/twelve/galleria.twelve.min.js');
        // Initialize Galleria
        Galleria.run('#galleria');
      </script>
      </body>
    </html>

    I just read through the link you gave me - thanks for that. 
    After composing a first draft of a reply I went into my pages to make a couple of tweaks and throw them up so you can see them live. While I was doing that I noticed that there was no link referencing the galleria.twelve.css file, so I added that line:
    <link href="galleria/themes/twelve/galleria.twelve.css" rel="stylesheet" type="text/css" media="screen, projection">
    and WHAMO, it suddenly started showing up when using the template. The scripts are/were loading after the css, so that wasn't it, but it's your response and my having another look at the css and javascript code in the header that helped me find the problem.
    I guess sometimes you just need to step away for awhile and clear your head. So now everything is showing up properly and all the areas I wanted to be editable are editable. I will sleep very well tonight, hahaha.
    Here's the page anyways. Kindly ignore the pages that it links to - most of them are ancient as is the work on them. Thanks so much for your help!
    http://www.penickart.com/indexwtemplate.html

  • Global Database Name for OCS Database with domainname that include a dash

    Hi guys,
    The domain name for the network that I'm installing OCS 10g have a dash in the domainname. When installing the OCS database, it stated that the global database name cannot have a dash. So I change the dash in domain name of the server with an underscore.
    After restart the installation, and putting the global database name with a underscore, the installation is sucessfull. My question is if I change back the server domain name back to include the dash, will this affect the running of the database ? and after the installation can I changed the global database name to include the dash ?
    Is there any to to ensure a database installation will be sucessfull with a dash in the domain name for the global database name ?
    Thanks for any info.
    Regards
    Lanang

    create a net service for oracle10g and provide the name of this service during HTML DB installation it is required for installation.

  • WL5.1: Using JSPC with pages that include usebean tags

    Hi All,
              I'm trying to get JSPC to correctly compile my JSP pages (which compile with
              no problems from within Weblogic itself) and for each page that contains a
              <userbean> tag, it seems as though java is trying to instantiate the bean as
              it turns the JSP page into a servlet.
              I can stop this happening by changing the <usebean class="foobar"/> tag to a
              <usebean type="foobar"/>, but according to the documentation, this technique
              is only supposed to be used when the bean's object is expected to be in
              scope already, which is not the case.
              Is there anyway to tell JSPC not to instantiate the beans in the <usebean>
              tags?
              bye
              

    Hi All,
              I'm trying to get JSPC to correctly compile my JSP pages (which compile with
              no problems from within Weblogic itself) and for each page that contains a
              <userbean> tag, it seems as though java is trying to instantiate the bean as
              it turns the JSP page into a servlet.
              I can stop this happening by changing the <usebean class="foobar"/> tag to a
              <usebean type="foobar"/>, but according to the documentation, this technique
              is only supposed to be used when the bean's object is expected to be in
              scope already, which is not the case.
              Is there anyway to tell JSPC not to instantiate the beans in the <usebean>
              tags?
              bye
              

  • XMLTYPE.Transform()  issue with namespace-alias

    I have an XSLT that uses the namespace-alias. When i use the XMLTYPE.Transform() funtion in oracle it disregards the alias and outputs the stylesheet prefix rather than outputting result prefix
    Eg:
    The XSLT has the follwing lines:
    xmlns:wxsl="http://www.w3schools.com/w3style.xsl"
    xmlns:wxmlns="http://temp.xmlns"
    <xsl:namespace-alias stylesheet-prefix="wxsl" result-prefix="xsl"/>
    <xsl:namespace-alias stylesheet-prefix="wxmlns" result-prefix="xmlns"/>
    <wxsl:element name="my:myFields">
    </wxsl:element>
    The would output the following XML:
    <wxsl:element name="my:myFields">
    </wxsl:element>
    Its just doen't uses the result prefix.
    Is this a bug in oracle XMLTYPE.Transform function ?

    Please provide a small working example of an XML and XSLT that demonstrates what you have described. Also include your version of Oracle (4 digits i.e. 10.2.0.4). It is easier when others don't have to guess at what you have coded. As a general posting note, see the FAQ in the upper right for how to use the tag to wrap code/SQL/etc to retain formatting.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • [9i] poor performance with XMLType.transform

    Hello,
    I've got a problem with the Oracle function XMLType.transform.
    When I try to apply a XSL to a big XML, it is very very slow, and it evens consumes all the CPU, and other users are not able to work until the processing is complete...
    So I was wondering if my XSL was corrupted, but it does not seem so, because when i apply it with Internet Explorer (by just double-clicking on the .xml), it is immediately applied. I've also even tried with oraxsl, and the processing is quick and good.
    So, i tried to use XDB, but it does not work, maybe I should upgrade to a newer version of XDB?
    Please find the ZIP file here :
    http://perso.modulonet.fr/~tleoutre/Oracle/samples.zip
    Please find in this file :
    1) The XSL file k_xsl.xsl
    2) The "big" XML file big_xml.xml
    Here you can try to apply the XSL on the XML with Internet Explorer : processing is very quick...
    3) The batch file transform.bat
    Here you can launch it, it calls oraxsl, and produces a result very quickly...
    4) The SQL file test_xsl_with_xmltype_transform.sql.
    You can try to launch it... First, it applies the same XSL with a little XML, and it's OK... And then, it applies the XSL to the same big XML as in point 1), and then, it takes a lot of time and CPU...
    5) The SQL file test_xsl_with_xdb_1.sql ...
    On my server, it fails... So I tried to change the XSL in the next point :
    6) The SQL file test_xsl_with_xdb_2.sql with a "cleaned" XSL...
    And then, it fails with exactly the same problem as in :
    TransformerConfigurationException  (Unknown expression at EOF: *|/.)
    Any help would be greatly appreciated!
    Thank you!
    P.S. : Sorry for my bad english, I'm a French man :-)

    This is what I see...
    Your tests are measuring the wrong thing. You are measuring the time to create the sample documents, which is being done very innefficiently, as well
    as the time take to do the transform.
    Below is the correct way to get mesasurements for each task..
    Here's what I see on a PIV 2.4Ghz with 10.2.0.2.0 and 2GB of RAM
    Fragments SourceSize  TargetSize createSource       Parse     Transform
            50      28014      104550  00:00:00.04 00:00:00.04   00:00:00.12
           100      55964      209100  00:00:00.03 00:00:00.05   00:00:00.23
           500     279564     1045500  00:00:00.16 00:00:00.23   00:00:01.76
          1000     559064     2091000  00:00:00.28 00:00:00.28   00:00:06.04
          2000    1118064     4182000  00:00:00.34 00:00:00.42   00:00:24.43
          5000    2795064    10455000  00:00:00.87 00:00:02.02   00:03:19.02I think this clearly shows the pattern.
    Of course what this testing really shows is that you've clearly missed the point of performing XSLT transformation inside the database.
    The idea behind database based transformation is to optimize XSLT processing by
    (1), not having to parse the XML and build a DOM tree before commencing the XSLT processing. In this example this is not possible since the
    XML is being created from a CLOB based XMLType, not a schema based XMLType.
    (2) Leveraging the Lazily Loaded Virtual DOM when doing sparse transformation ( A Sparse transformation is one where there are large parts of the
    source document that are not required to create the target document. Again in this case the XSL requires you to walk all the nodes to generate the
    required output.
    If is necessary to process all of the nodes in the source document to generate the entire output it probably makes more sense to use a midtier XSL engine.
    Here's the code I used to generate the numbers in the above example
    BTW in terms of BIG XML we've successully processed 12G documents with Schema Based Storage...So nothing you have hear comes any where our defintion of big.- 1 with Oracle 10g Express on Linux
    Also, please remember that 9.2.0.1.0 is not a supported release for any XML DB related features.
    SQL*Plus: Release 10.2.0.2.0 - Production on Fri Feb 10 07:44:59 2006
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    SQL> spool createDocument.log
    SQL> --
    SQL> connect &1/&2
    Connected.
    SQL> --
    SQL> create or replace directory &1 as '&3'
      2  /
    old   1: create or replace directory &1 as '&3'
    new   1: create or replace directory SCOTT as '/home/mdrake/bugs/xslTest'
    Directory created.
    SQL> drop table source_data_table
      2  /
    Table dropped.
    SQL> create table source_data_table
      2  (
      3    fragCount number,
      4    xml_text  clob,
      5    xml       xmlType,
      6    result    clob
      7  )
      8  /
    Table created.
    SQL> create or replace procedure createDocument(fragmentCount number)
      2  as
      3    fragmentText clob :=
      4  '<AFL LIGNUM="1999">
      5    <mat>20000001683</mat>
      6    <name>DOE</name>
      7    <firstname>JOHN</firstname>
      8    <name2>JACK</name2>
      9    <SEX>MALE</SEX>
    10    <birthday>1970-05-06</birthday>
    11    <salary>5236</salary>
    12    <code1>5</code1>
    13    <code2>6</code2>
    14    <code3>7</code3>
    15    <date>2006-05-06</date>
    16    <dsp>8.665</dsp>
    17    <dsp_2000>455.45</dsp_2000>
    18    <darr04>5.3</darr04>
    19    <darvap04>6</darvap04>
    20    <rcrr>8</rcrr>
    21    <rcrvap>9</rcrvap>
    22    <rcrvav>10</rcrvav>
    23    <rinet>11.231</rinet>
    24    <rmrr>12</rmrr>
    25    <rmrvap>14</rmrvap>
    26    <ro>15</ro>
    27    <rr>189</rr>
    28    <date2>2004-05-09</date2>
    29  </AFL>';
    30
    31    xmlText CLOB;
    32
    33  begin
    34    dbms_lob.createTemporary(xmlText,true,DBMS_LOB.CALL);
    35    dbms_lob.write(xmlText,5,1,'<PRE>');
    36    for i in 1..fragmentCount loop
    37       dbms_lob.append(xmlText,fragmentText);
    38    end loop;
    39    dbms_lob.append(xmlText,xmlType('<STA><COD>TER</COD><MSG>Op?ation R?ssie</MSG></STA>').getClobVal());
    40    dbms_lob.append(xmlText,'</PRE>');
    41    insert into source_data_table (fragCount,xml_text) values (fragmentCount, xmlText);
    42    commit;
    43    dbms_lob.freeTemporary(xmlText);
    44  end;
    45  /
    Procedure created.
    SQL> show errors
    No errors.
    SQL> --
    SQL> set timing on
    SQL> --
    SQL> call createDocument(50)
      2  /
    Call completed.
    Elapsed: 00:00:00.04
    SQL> call createDocument(100)
      2  /
    Call completed.
    Elapsed: 00:00:00.03
    SQL> call createDocument(500)
      2  /
    Call completed.
    Elapsed: 00:00:00.16
    SQL> call createDocument(1000)
      2  /
    Call completed.
    Elapsed: 00:00:00.28
    SQL> call createDocument(2000)
      2  /
    Call completed.
    Elapsed: 00:00:00.34
    SQL> call createDocument(5000)
      2  /
    Call completed.
    Elapsed: 00:00:00.87
    SQL> select fragCount dbms_lob.getLength(xmlText)
      2    from sample_data_table
      3  /
    select fragCount dbms_lob.getLength(xmlText)
    ERROR at line 1:
    ORA-00923: FROM keyword not found where expected
    Elapsed: 00:00:00.00
    SQL> quit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL*Plus: Release 10.2.0.2.0 - Production on Fri Feb 10 07:45:01 2006
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    SQL> spool testcase_&3..log
    SQL> --
    SQL> connect &1/&2
    Connected.
    SQL> --
    SQL> set timing on
    SQL> --
    SQL> update source_data_table
      2     set xml = xmltype(xml_text)
      3   where fragCount = &3
      4  /
    old   3:  where fragCount = &3
    new   3:  where fragCount = 50
    1 row updated.
    Elapsed: 00:00:00.04
    SQL> commit
      2  /
    Commit complete.
    Elapsed: 00:00:00.01
    SQL> update source_data_table
      2     set result = xmltransform(xml,xmltype(bfilename(USER,'&4'),nls_charset_id('WE8ISO8859P1'))).getClobVal()
      3   where fragCount = &3
      4  /
    old   2:    set result = xmltransform(xml,xmltype(bfilename(USER,'&4'),nls_charset_id('WE8ISO8859P1'))).getClobVal()
    new   2:    set result = xmltransform(xml,xmltype(bfilename(USER,'k_xsl.xsl'),nls_charset_id('WE8ISO8859P1'))).getClobVal()
    old   3:  where fragCount = &3
    new   3:  where fragCount = 50
    1 row updated.
    Elapsed: 00:00:00.12
    SQL> commit
      2  /
    Commit complete.
    Elapsed: 00:00:00.01
    SQL> select fragCount, dbms_lob.getLength(xml_text),dbms_lob.getLength(result)
      2    from source_data_table
      3  /
    FRAGCOUNT DBMS_LOB.GETLENGTH(XML_TEXT) DBMS_LOB.GETLENGTH(RESULT)
            50                        28014                     104550
           100                        55964
           500                       279564
          1000                       559064
          2000                      1118064
          5000                      2795064
    6 rows selected.
    Elapsed: 00:00:00.01
    SQL> quit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL*Plus: Release 10.2.0.2.0 - Production on Fri Feb 10 07:45:02 2006
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    SQL> spool testcase_&3..log
    SQL> --
    SQL> connect &1/&2
    Connected.
    SQL> --
    SQL> set timing on
    SQL> --
    SQL> update source_data_table
      2     set xml = xmltype(xml_text)
      3   where fragCount = &3
      4  /
    old   3:  where fragCount = &3
    new   3:  where fragCount = 100
    1 row updated.
    Elapsed: 00:00:00.05
    SQL> commit
      2  /
    Commit complete.
    Elapsed: 00:00:00.01
    SQL> update source_data_table
      2     set result = xmltransform(xml,xmltype(bfilename(USER,'&4'),nls_charset_id('WE8ISO8859P1'))).getClobVal()
      3   where fragCount = &3
      4  /
    old   2:    set result = xmltransform(xml,xmltype(bfilename(USER,'&4'),nls_charset_id('WE8ISO8859P1'))).getClobVal()
    new   2:    set result = xmltransform(xml,xmltype(bfilename(USER,'k_xsl.xsl'),nls_charset_id('WE8ISO8859P1'))).getClobVal()
    old   3:  where fragCount = &3
    new   3:  where fragCount = 100
    1 row updated.
    Elapsed: 00:00:00.23
    SQL> commit
      2  /
    Commit complete.
    Elapsed: 00:00:00.03
    SQL> select fragCount, dbms_lob.getLength(xml_text),dbms_lob.getLength(result)
      2    from source_data_table
      3  /
    FRAGCOUNT DBMS_LOB.GETLENGTH(XML_TEXT) DBMS_LOB.GETLENGTH(RESULT)
            50                        28014                     104550
           100                        55964                     209100
           500                       279564
          1000                       559064
          2000                      1118064
          5000                      2795064
    6 rows selected.
    Elapsed: 00:00:00.01
    SQL> quit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL*Plus: Release 10.2.0.2.0 - Production on Fri Feb 10 07:45:02 2006
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    SQL> spool testcase_&3..log
    SQL> --
    SQL> connect &1/&2
    Connected.
    SQL> --
    SQL> set timing on
    SQL> --
    SQL> update source_data_table
      2     set xml = xmltype(xml_text)
      3   where fragCount = &3
      4  /
    old   3:  where fragCount = &3
    new   3:  where fragCount = 500
    1 row updated.
    Elapsed: 00:00:00.12
    SQL> commit
      2  /
    Commit complete.
    Elapsed: 00:00:00.03
    SQL> update source_data_table
      2     set result = xmltransform(xml,xmltype(bfilename(USER,'&4'),nls_charset_id('WE8ISO8859P1'))).getClobVal()
      3   where fragCount = &3
      4  /
    old   2:    set result = xmltransform(xml,xmltype(bfilename(USER,'&4'),nls_charset_id('WE8ISO8859P1'))).getClobVal()
    new   2:    set result = xmltransform(xml,xmltype(bfilename(USER,'k_xsl.xsl'),nls_charset_id('WE8ISO8859P1'))).getClobVal()
    old   3:  where fragCount = &3
    new   3:  where fragCount = 500
    1 row updated.
    Elapsed: 00:00:01.76
    SQL> commit
      2  /
    Commit complete.
    Elapsed: 00:00:00.00
    SQL> select fragCount, dbms_lob.getLength(xml_text),dbms_lob.getLength(result)
      2    from source_data_table
      3  /
    FRAGCOUNT DBMS_LOB.GETLENGTH(XML_TEXT) DBMS_LOB.GETLENGTH(RESULT)
            50                        28014                     104550
           100                        55964                     209100
           500                       279564                    1045500
          1000                       559064
          2000                      1118064
          5000                      2795064
    6 rows selected.
    Elapsed: 00:00:00.00
    SQL> quit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL*Plus: Release 10.2.0.2.0 - Production on Fri Feb 10 07:45:04 2006
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    SQL> spool testcase_&3..log
    SQL> --
    SQL> connect &1/&2
    Connected.
    SQL> --
    SQL> set timing on
    SQL> --
    SQL> update source_data_table
      2     set xml = xmltype(xml_text)
      3   where fragCount = &3
      4  /
    old   3:  where fragCount = &3
    new   3:  where fragCount = 1000
    1 row updated.
    Elapsed: 00:00:00.28
    SQL> commit
      2  /
    Commit complete.
    Elapsed: 00:00:00.01
    SQL> update source_data_table
      2     set result = xmltransform(xml,xmltype(bfilename(USER,'&4'),nls_charset_id('WE8ISO8859P1'))).getClobVal()
      3   where fragCount = &3
      4  /
    old   2:    set result = xmltransform(xml,xmltype(bfilename(USER,'&4'),nls_charset_id('WE8ISO8859P1'))).getClobVal()
    new   2:    set result = xmltransform(xml,xmltype(bfilename(USER,'k_xsl.xsl'),nls_charset_id('WE8ISO8859P1'))).getClobVal()
    old   3:  where fragCount = &3
    new   3:  where fragCount = 1000
    1 row updated.
    Elapsed: 00:00:06.04
    SQL> commit
      2  /
    Commit complete.
    Elapsed: 00:00:00.00
    SQL> select fragCount, dbms_lob.getLength(xml_text),dbms_lob.getLength(result)
      2    from source_data_table
      3  /
    FRAGCOUNT DBMS_LOB.GETLENGTH(XML_TEXT) DBMS_LOB.GETLENGTH(RESULT)
            50                        28014                     104550
           100                        55964                     209100
           500                       279564                    1045500
          1000                       559064                    2091000
          2000                      1118064
          5000                      2795064
    6 rows selected.
    Elapsed: 00:00:00.00
    SQL> quit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL*Plus: Release 10.2.0.2.0 - Production on Fri Feb 10 07:45:11 2006
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    SQL> spool testcase_&3..log
    SQL> --
    SQL> connect &1/&2
    Connected.
    SQL> --
    SQL> set timing on
    SQL> --
    SQL> update source_data_table
      2     set xml = xmltype(xml_text)
      3   where fragCount = &3
      4  /
    old   3:  where fragCount = &3
    new   3:  where fragCount = 2000
    1 row updated.
    Elapsed: 00:00:00.42
    SQL> commit
      2  /
    Commit complete.
    Elapsed: 00:00:00.02
    SQL> update source_data_table
      2     set result = xmltransform(xml,xmltype(bfilename(USER,'&4'),nls_charset_id('WE8ISO8859P1'))).getClobVal()
      3   where fragCount = &3
      4  /
    old   2:    set result = xmltransform(xml,xmltype(bfilename(USER,'&4'),nls_charset_id('WE8ISO8859P1'))).getClobVal()
    new   2:    set result = xmltransform(xml,xmltype(bfilename(USER,'k_xsl.xsl'),nls_charset_id('WE8ISO8859P1'))).getClobVal()
    old   3:  where fragCount = &3
    new   3:  where fragCount = 2000
    1 row updated.
    Elapsed: 00:00:24.43
    SQL> commit
      2  /
    Commit complete.
    Elapsed: 00:00:00.03
    SQL> select fragCount, dbms_lob.getLength(xml_text),dbms_lob.getLength(result)
      2    from source_data_table
      3  /
    FRAGCOUNT DBMS_LOB.GETLENGTH(XML_TEXT) DBMS_LOB.GETLENGTH(RESULT)
            50                        28014                     104550
           100                        55964                     209100
           500                       279564                    1045500
          1000                       559064                    2091000
          2000                      1118064                    4182000
          5000                      2795064
    6 rows selected.
    Elapsed: 00:00:00.00
    SQL> quit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL*Plus: Release 10.2.0.2.0 - Production on Fri Feb 10 07:45:36 2006
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    SQL> spool testcase_&3..log
    SQL> --
    SQL> connect &1/&2
    Connected.
    SQL> --
    SQL> set timing on
    SQL> --
    SQL> update source_data_table
      2     set xml = xmltype(xml_text)
      3   where fragCount = &3
      4  /
    old   3:  where fragCount = &3
    new   3:  where fragCount = 5000
    1 row updated.
    Elapsed: 00:00:02.02
    SQL> commit
      2  /
    Commit complete.
    Elapsed: 00:00:00.05
    SQL> update source_data_table
      2     set result = xmltransform(xml,xmltype(bfilename(USER,'&4'),nls_charset_id('WE8ISO8859P1'))).getClobVal()
      3   where fragCount = &3
      4  /
    old   2:    set result = xmltransform(xml,xmltype(bfilename(USER,'&4'),nls_charset_id('WE8ISO8859P1'))).getClobVal()
    new   2:    set result = xmltransform(xml,xmltype(bfilename(USER,'k_xsl.xsl'),nls_charset_id('WE8ISO8859P1'))).getClobVal()
    old   3:  where fragCount = &3
    new   3:  where fragCount = 5000
    1 row updated.
    Elapsed: 00:03:19.02
    SQL> commit
      2  /
    Commit complete.
    Elapsed: 00:00:00.01
    SQL> select fragCount, dbms_lob.getLength(xml_text),dbms_lob.getLength(result)
      2    from source_data_table
      3  /
    FRAGCOUNT DBMS_LOB.GETLENGTH(XML_TEXT) DBMS_LOB.GETLENGTH(RESULT)
            50                        28014                     104550
           100                        55964                     209100
           500                       279564                    1045500
          1000                       559064                    2091000
          2000                      1118064                    4182000
          5000                      2795064                   10455000
    6 rows selected.
    Elapsed: 00:00:00.04
    SQL> quit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    bash-2.05b$

  • Transport Error when including Transformations with Formulas

    I am attempting to transport a transformation that includes formulas.  I am getting an ASSERTION_FAILED short dump and my transport stops with an Error Code = 12.  Transformations without formulas or with routines seem to go ok.
    Here is a piece of the short dump:
    Information on where terminated
        Termination occurred in the ABAP program "CL_RSTRAN_RSFO================CP" -
         in "COPY_ON_DATABASE".
        The main program was "RDDEXECU ".
        In the source code you have the termination point in line 51
        of the (Include) program "CL_RSTRAN_RSFO================CM01U".
        The program "CL_RSTRAN_RSFO================CP" was started as a background job.
        Job Name....... "RDDEXECL"
        Job Initiator.. "DDIC"
        Job Number..... 15091300
    We are currently on NW2004s SP10.  I cannot seem to find any OSS notes that are applicable?  Anyone have any help?

    We had to log an OSS Message with SAP to get this fixed.  Somewhere in the development of the transformation, the rules with the formula got corrupted, even though it did not appear to be corrupted from the front-end.
    Here is the text from the OSS Message:
    The problem is that the yuo defined 2 formulas for this
    transformation but in table RSTRANSTEPROUT there are 3 active
    entries. RULEID 4 is wrong, because this ruleid
    is not avialable in table RSTRANFIELD and RSTRANRULE. To delete
    an inconsistent ruleid you can use the procedure which is
    described in note 983036.
    Once we cleaned this up, the transformation transported successfully.
    Hope this helps!

  • Problem is need to log off computer to go from one web site to another with message that program still running. Logging off to go from email to something else is very time consuming and annoying.

    Troublesome need to log off between switching from Yahoo to another website with message that program is still running.

    Terminate Firefox from the "Processes" tab of the Windows Task Manager not the "Applications" tab. Then select firefox.exc and use the right-click context menu to "End Process" or use the "End Process" button on the selected process.
    Windows 7 keyboard shortcut "Ctrl+Shift+Esc" will go directly to the Windows Task Manager and reopen the last tab that you had open.
    See item #38 Closing Firefox Properly -- use File -> '''Exit'''
    *http://dmcritchie.mvps.org/firefox/firefox-problems.htm#close_firefox
    <br><small>Please mark "Solved" one answer that will best help others with a similar problem -- hope this was it.</small>
    I don't see why you feel you have to exit Firefox to get out of one website to immediately use another website. Very impractical. Does this have anything to do with desktop icons or not using tabs?
    Completely unrelated to your question or your reason. Your flash plug-in is out of date.
    Check for Flash updates to see if you really are current
    * http://www.adobe.com/software/flash/about/
    After the download,
    #bring up the download manager ("Ctrl+J") and start your installs. As soon as the install comes up,
    #close Firefox with File > Exit or "Firefox" button > Exit. Give Firefox some time to close and check that it finished via the Windows Task Manager -- if it is still running then terminate it by selecting the use "End Process" button or from context menu.
    #proceed with the install
    '''Warning''': this is the Adobe site and they have chosen to to provide crapware along with their own product. Only install the product you were planning to install. Do not install additional products: including -- "Free! McAfee Security Scan Plus" or "Google Chrome". Installing Google Chrome on your own and installing it because it is offered on the Adobe site are two different things.
    Find updates for your installed plugins at http://www.mozilla.com/plugincheck/ mozilla.com/plugincheck
    -- best to use Adobe's site to really see if their plug-ins are up to date.

  • I am having some huge problems with my colorspace settings. Every time I upload my raw files from my Canon 5D mark II or 6D the pics are perfect in color. That includes the back of my camera, the pic viewer on my macbook pro, and previews. They even look

    I am having some huge problems with my colorspace settings. Every time I upload my raw files from my Canon 5D mark II or 6D the pics are perfect in color. That includes the back of my camera, the pic viewer on my macbook pro, and previews. They even look normal when I first open them in photoshop. I will edit, save, and then realize once i've sent it to myself to test the color is WAY off. This only happens in photoshop. I've read some forums and have tried different things, but it seems to be making it worse. PLEASE HELP! Even viewing the saved image on the mac's pic viewer is way off once i've edited in photoshop. I am having to adjust all my colors by emailing myself to test. Its just getting ridiculous.

    Check the color space in camera raw, the options are in the link at the bottom of the dialog box. Then when saving make sure you save it to the srgb color space when sending to others. Not all programs understand color space and or will default to srgb. That won't necessarily mean it will be accurate, but it will put it in the ballpark. Using save for web will use the srgb color space.

  • When I import a CD album that includes songs with co-artists, the album is saved once with all of the songs with the main artist only, and then one album for each song with a different co-artist.  How can I avoid that or fix that result after the fact.

    When I import a CD ablum that includes songs with co-artists, the album is saved once under the album name with all the songs from the main artist; then each song with a different co-artist is saved separately under the album title with just that song.  Who do I prevent that or fix it after the fact, i.e., copy the single songs to the main album?

    Why aren't songs with the same album art grouped together? - http://support.apple.com/kb/ts1468
    Compilation checkbox is under options tab when editing multiple tracks at once.
    https://discussions.apple.com/thread/4559720 - discussion of using compilation vs. album artist to group tracks
    Jan 2014 discussion: https://discussions.apple.com/thread/5775641

  • I have copied many photo's from another laptop to my Mac.  The older photo's are in directories with names that help me select what I need to view. I would like to have all my imported new photo's also bee added to the directory structure I have in Finder

    I have copied many photo's from another laptop to my Mac.  The older photo's are in directories with names that help me select what I need to view. I would like to have all my imported new photo's also bee added to the directory structure I have in Finder but my new photo's are all in iPhoto.  I want to use directories for storing and iPhoto for viewing.  Is this possible or do I need to have all my photo's in iPhoto??
    Mitch

    iPhoto is not a Photo Viewer. It's a Photo Manager and designed for looking after the files while you organise the Photos. It really works much better if you let it manage those files. If you use iPhoto you never go near those files because iPhoto is your start point for anything you want to do with your Photos - the point of the pplication.
    You can run iPhoto in Referenced mode, where it does not copy the files to the Library, but I caution you that you are making life a lot more difficult for yourself by doing that.
    How to, and some comments on why you shouldn't, are in this thread
    https://discussions.apple.com/thread/3062728?tstart=0
    Regards
    TD

  • Since i got the new Iphone 4s it constantly drops calls. Apple have replaced the phone with another new iphone 4s but i am still having the same problem. I have checked with vodapohe that there is no issue from there end, given a new sim, still drops out

    Since i got the new Iphone 4s it constantly drops calls. Apple have replaced the phone with another new iphone 4s but i am still having the same problem. I have checked with vodapohe that there is no issue from there end, given a new sim, still drops out

    Have a look at this it might help
    http://support.apple.com/kb/TS4148

  • I have a hard disk drive with data that i want to back up onto another hard disk drive. I tried just copy and it won't let me paste it in the new drive. I have also tried to drag the files across and they won't go across. Does anyone know how to do this?

    I have an external hard disk drive with data that I want to back up onto another extrnal hard disk drive. I have tried to copy and paste but this wont give me a paste option. I have also tried to click and drag but it wont let me either. I have reformatted the external hard drive to accept both mac and pc files and this did not make any difference. Can anyone help me with this?

    How did you reformat the drive? If you formatted it as NTFS, your Mac will not be able to write files to it unless you use a small application such as Paragon's.
    Please reply as to how you formatted the drive.
    Clinton

  • Need help with adding form fields to PDF created in InDesign that includes links

    I created a collateral piece in InDesignCC that includes hyperlinks and bookmarks - I then used LiveCycle to add an image field and text field to the front cover so our sales folks can customize it before use - the sales people with Reader can't save it without the hyperlinks and bookmarks being lost. Anyone have an option on how to fix that?

    No.  Not at all.  I feel like I have clicked EVERYTHING.  Lol.  But obviously I have missed something.

  • How to create an explain plan with rowsource statistics for a complex query that include multiple table joins ?

    1. How to create an explain plan with rowsource statistics for a complex query that include multiple table joins ?
    When multiple tables are involved , and the actual number of rows returned is more than what the explain plan tells. How can I find out what change is needed  in the stat plan  ?
    2. Does rowsource statistics gives some kind of  understanding of Extended stats ?

    You can get Row Source Statistics only *after* the SQL has been executed.  An Explain Plan midway cannot give you row source statistics.
    To get row source statistics either set STATISTICS_LEVEL='ALL'  in the session that executes theSQL OR use the Hint "gather_plan_statistics"  in the SQL being executed.
    Then use dbms_xplan.display_cursor
    Hemant K Chitale

Maybe you are looking for