Missing body begin XSL context error

I successfully downloaded and uploaded my template to XML Publisher, but there is a "Missing body begin XSL context". I did some research on it, it seems about template validification. Is it really matter??
My script are:
Download
java oracle.apps.xdo.oa.util.XDOLoader \
DOWNLOAD \
-DB_USERNAME XXXX\
-DB_PASSWORD XXXX \
-JDBC_CONNECTION XX \
-APPS_SHORT_NAME XXAR \
-LCT_FILE ${XDO_TOP}/patch/115/import/xdotmpl.lct \
-LOB_TYPE TEMPLATE_SOURCE \
-LOB_CODE XXARSR \
-LANGUAGE en \
Upload
java oracle.apps.xdo.oa.util.XDOLoader \
UPLOAD \
-DB_USERNAME XXXX\
-DB_PASSWORD XXXXX\
-JDBC_CONNECTION XXXXX\
-LOB_TYPE TEMPLATE_SOURCE \
-APPS_SHORT_NAME XXAR \
-LOB_CODE XXARRR \
-FILE_CONTENT_TYPE 'application/rtf' \
-FILE_NAME /XXXXX/XXARRR.rtf \
-XDO_FILE_TYPE RTF \
-LANGUAGE en \
-TERRITORY 00
Ouput
Start uploading...
Target file: XXARRR.rtf
Creating a new record in XDO_LOBS: XXARRR.rtf
[041812_104801907][][*ERROR*] [Line 415.109] Missing body begin XSL context for: <      ?end for-each?>
Done creating a new record in XDO_LOBS: XXARRR.rtf

Please see if (Report Generation Fails Due To 'Illegal closing table XSL context' And 'Missing body begin XSL context for' Errors [ID 727509.1]) helps.
Thanks,
Hussein

Similar Messages

  • Missing table begin XSL context for: ?end if?

    I have 8 if clauses with grouping sub grouping data shown.
    when I try to validate my RTF file I am getting following error msg:
    [061112_073853972][][ERROR] [Line 3322.83] Missing table begin XSL context for: <?end if?>
    [061112_073854018][][ERROR] [Line 3624.134] Missing table begin XSL context for: <?end if?>
    [061112_073854050][][ERROR] [Line 3878.184] Missing table begin XSL context for: <?end if?>
    [061112_073854081][][ERROR] [Line 4203.183] Missing table begin XSL context for: <?end if?>
    [061112_073854112][][ERROR] [Line 4479.134] Missing table begin XSL context for: <?end if?>
    [061112_073854143][][ERROR] [Line 4870.182] Missing table begin XSL context for: <?end if?>
    [061112_073854190][][ERROR] [Line 5201.182] Missing table begin XSL context for: <?end if?>
    I have check each and every <?if:...?> clasue and it's corresponding <?end if?> clause

    Issue has be identified:
    It was a end of group statement after the structure of table.
    all of <?end for-each-group?> end tage should be in a table and only if (open and close) statement should group them.

  • Missing table begin XSL context for:

    Hi,
    I'm working on a table listing in an RTF template. This has several <?choose?> commands, a <?for-each?> command, and some variables. All of a sudden I'm getting the above message for all my <?choose?> and <end for-each?> statements
    Any ideas? I've trawled the web and the forum but can't see anything like this....
    Thanks
    Phil

    Found it.
    I was missing a ":" in an <?otherwise:?> statement. Odd error message ;-)

  • 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>

  • XSL-1009 error

    Ok, I'm driving myself nuts with this and hoping someone can help! I've reviewed the other posts and re-checked things but it still doesn't work. Here's a simple test case:
    I have two tables. One of them is the SCOTT.EMP table. The other table is one I created; very simple two column table as follows (also in the scott schema):
    CREATE TABLE sjh_test
    sales_brand_bsnss_id VARCHAR2(10),
    xml_doc XMLTYPE
    In the xml_doc column I've stored an XSL style sheet. Here's the insert statement used, with the actual style sheet:
    insert into scott.sjh_test
    VALUES(100, sys.XMLType.createXML
    ('<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template match="/">
    <html>
    <body>
    Hello there.
    <xsl:for-each select="ROWSET">
    <table border="1" cellspacing="0">
    <xsl:for-each select="ROW">
    <tr>
    <td><xsl:value-of select="EMPNO"/></td>
    <td><xsl:value-of select="ENAME"/></td>
    </tr>
    </xsl:for-each>
    </table>
    </xsl:for-each>
    </body>
    </html>
    </xsl:template>
    </xsl:stylesheet>'))
    All I want to do I create a simple proof of concept which grabs some data from the EMP table as an XML document, then apply the XSL style sheet and get a result--the HTML output. Here is my code. The line of code "dbms_xmlquery.setXSLT(queryCtx, theStyleSheet);" throws the XSL-1009 error. The actual error text is "ORA-29532: Java call terminated by uncaught Java exception: oracle.xml.sql.OracleXMLSQLException: XSL-1009: Attribute 'xsl:version' not found in 'ROWSET'."
    declare
    queryCtx dbms_xmlquery.ctxType;
    queryCtx2 dbms_xmlquery.ctxType;
    result clob;
    theStyleSheet clob;
    errorNum NUMBER;
    errorMsg VARCHAR2(200);
    v_more BOOLEAN := TRUE;
    begin
    queryCtx := dbms_xmlquery.newContext('SELECT empno, ename, deptno FROM emp WHERE deptno = 7369');
    queryCtx2 := dbms_xmlquery.newContext('select s.xml_doc.getClobVal() as stylesheet from scott.sjh_test s');
    theStyleSheet := dbms_xmlquery.getXML(queryCtx2);
    dbms_xmlquery.closeContext(queryCtx2);
    dbms_xmlquery.setXSLT(queryCtx, theStyleSheet); -- ERROR HAPPENS HERE!
    result := dbms_xmlquery.getXML(queryCtx);
    dbms_xmlquery.closeContext(queryCtx);
    WHILE v_more LOOP
    DBMS_OUTPUT.PUT_LINE(Substr(theStyleSheet, 1, 255));
    IF Length(theStyleSheet) > 32767 THEN
    theStyleSheet := Substr(theStyleSheet, 32768);
    ELSE
    v_more := FALSE;
    END IF;
    END LOOP;
    EXCEPTION
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE(Substr(SQLERRM,1,255));
    end;
    Any ideas??
    Thanks very much, in advance.
    Scott

    Thanks for the suggestion. That gets me past that problem. It is now throwing a NullPointerException on this line:
    result := dbms_xmlquery.getXML(queryCtx);
    Here's the full code:
    begin
    queryCtx := dbms_xmlquery.newContext('SELECT empno, ename, deptno FROM emp WHERE deptno = 7369');
    select s.xml_doc.getClobVal() into theStylesheet from scott.sjh_test s;
    dbms_xmlquery.setXSLT(queryCtx, theStyleSheet);
    result := dbms_xmlquery.getXML(queryCtx); -- *** NullPointerException occurs here ***
    dbms_xmlquery.closeContext(queryCtx);
    WHILE v_more LOOP
    DBMS_OUTPUT.PUT_LINE(Substr(theStyleSheet, 1, 255));
    IF Length(theStyleSheet) > 32767 THEN
    theStyleSheet := Substr(theStyleSheet, 32768);
    ELSE
    v_more := FALSE;
    END IF;
    END LOOP;
    EXCEPTION
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE(Substr(SQLERRM,1,255));
    end;
    Thanks again for the suggestion. It looks like I'm close now.
    Scott

  • APEX 3.1.2: package body "FLOWS_030100.WWV_FLOW_UTILITIES" has errors

    When installing apex 3.1.2 in Oracle RDBMS 9.2.0.8 Ii got the following errors:
    command:
    SQL> @apexins SYSAUX SYSAUX TEMP /i/
    output:
    APPLICATION 4411 - APEX - System Messages
    Set Credentials...
    Check Compatibility...
    WWV_FLOW_API.FLOWS_API_LAST_EXTENDED20070906
    WWV_FLOW_API.CURRENT_FLOWS_VERSION20070906
    WWV_FLOW_API.IMPORT_COMPATIBLE_WITH_VERSION 20070108
    WWV_FLOW_API.COMPATIBLE
    Set Application ID...
    begin
    ERROR at line 1:
    ORA-04068: existing state of packages has been discarded
    ORA-04063: package body "FLOWS_030100.WWV_FLOW_UTILITIES" has errors
    ORA-06508: PL/SQL: could not find program unit being called
    ORA-06512: at "FLOWS_030100.WWV_FLOW_AUDIT", line 66
    ORA-06512: at line 3
    Checked table all_errors
    output:
    FLOWS_030100     WWV_FLOW_UTILITIES     PACKAGE BODY     1     5928     3     PLS-00201: identifier 'DBMS_LOCK' must be declared
    Any suggestions ?
    Regards,
    Remo

    Hi Penny,
    Your suggested solution worked.
    However i got other errors and so i ran apxremov.sql to cleanup the installation.
    Forgot to mention that there was a previous installation of apex.
    After rerunning apexins.sql installation was completed succesfully.
    Thanks for reply.
    Remo

  • ConText ERROR PLEASE HELP

    I was trying to create an index on some table
    SQL>create indx doc_index docs(text)
    indextype is ctxsys.contxt;
    however I always got back all these errors
    ORA-29855: error occured in the execution of ODCIINDEXCREATE routine
    ORA-20000: COnText error:
    DRG-10516: failed to perform DDL operation due to an Oracle error
    ORA-01552: cannot use system rollback segment for non-system tablespace 'DRSYS'
    ORA-06512: at "CTXSYS.DRUE", line 122
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line34
    ORA-06512: at line 1
    I may not configure the InterMedia correctly, Is any body know what is the problem here??
    Please Help
    Thanks,
    Wei

    Indextype is ctxsys.CONTEXT not "ctxsys.contxt".
    Also please check your space availability.
    null

  • ORA-20000 context error

    When I am run this query then it shows the following error
    ORA-20000 context error
    SQL is
    select * from(SELECT A.SKU,D.SKU_SRL_NO,A.TITLE,A.AUTHOR_DESC,A.PRI_CATEGORY_ID,E.CATEGORY_NAME,A.ITEM_TYPE,NVL(SCORE(0), 0) AS RANK , decode(INSTR(UPPER(SRCH_CONTXT_FLD),'THE ART OF WAR'),1,-1,INSTR(UPPER(SRCH_CONTXT_FLD),'THE ART OF WAR')) AS SRCHORDER FROM OXF_SKU_MSTR A,OXF_SKU_VEP_MSTR D,oxf_ctgy_mstr e WHERE D.SKU=A.SKU AND A.PRI_CATEGORY_ID=E.CATEGORY_ID AND (ITEM_TYPE='BK' OR ITEM_TYPE='CDR' OR ITEM_TYPE='MCT' ) AND CONTAINS (SRCH_CONTXT_FLD,'THE ART OF WAR*6|NEAR((THE ART OF WAR,THE ART OF WAR),100,true)*6|NEAR((THE,ART,OF,WAR),100,true)*4|THE * 3 | ART * 3 | OF * 3 | WAR * 3',0)>0 UNION SELECT A.SKU,D.SKU_SRL_NO,A.TITLE,A.AUTHOR_DESC,A.PRI_CATEGORY_ID,e.category_name,A.ITEM_TYPE, NVL(SCORE(0), 0) AS RANK , decode(INSTR(UPPER(SRCH_CONTXT_FLD),'THE ART OF WAR'),1,-1,INSTR(UPPER(SRCH_CONTXT_FLD),'THE ART OF WAR')) AS SRCHORDER FROM OXF_SKU_MSTR A,OXF_MUSIC_MSTR B,OXF_SKU_VEP_MSTR D,oxf_ctgy_mstr e WHERE b.SKU=A.SKU and D.SKU=A.SKU and a.pri_category_id=e.category_id AND CONTAINS (SONG,'THE ART OF WAR*6|NEAR((THE ART OF WAR,THE ART OF WAR),100,true)*6|NEAR((THE,ART,OF,WAR),100,true)*4|THE * 3 | ART * 3 | OF * 3 | WAR * 3',0)>0 ) a ORDER BY ITEM_TYPE, SRCHORDER,TITLE
    Can any body help me to solve this problem.
    Thanks in advance

    Hi,
    This may help you
    ORA-20000: ORU-10027: buffer overflow, limit of 2000 bytes
    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:2460552453360
    Trinath Somanchi
    ( http://myospages.com )

  • Required attribute version missing from element xsl:stylesheet

    Tools:
    Jdeveloper : 10.1.3.3
    Error:
    Every time I add transform process activity and try to create mappings I am not able to save them.
    In source view I see this error "Required attribute version missing from element xsl:stylesheet".
    I cannot continue and do not understand how to proceed.
    Any ideas ?

    We have the same problem here from time to time. This has to be some kind of bug in JDeveloper. There is nothing wrong with our xsl files! But for some reason JDeveloper complains about the version attribute of xsl:stylesheet which in all the cases I've seen IS THERE!
    Sometimes restarting JDeveloper helps - sometimes not. I even ended up reinstalling JDeveloper a few times.
    I hoped this would be fixed in 10.1.3.3 (we use 10.1.3.2) but sadly it's not it seems.

  • Webservice invokation: Missing body information

    Hi,
    i created a webservice via jdeveloper. Building and deploying worked fine, but now when i invoke the webservice via the em-console i get:
    <env:Body>
    <env:Fault>
    <faultcode>env:Client</faultcode>
    <faultstring>Missing body information</faultstring>
    </env:Fault>
    </env:Body>
    Does anybody know, how to deal with this error message?

    Hello,
    1- Can you invoke the service using a Java client (a Web Service Proxy)?
    Without any more in information such as WSDL, SOAP request, it is hard to give you a path to look. You can capture that from the Test page and/or by turning on auditing on the service.
    Regards
    Tugdual Grall

  • TS1368 I'm a PC user with an itunes account for several years. I updated my itunes and now it wont open and shows me 'missing file MSVCR80.dll,and error 7(Window error 126)' keep coming up even after re-installing itunes . What should i do?

    I'm a PC user with an itunes account for several years. I updated my itunes and now it wont open and shows me 'missing file MSVCR80.dll,and error 7(Window error 126)' keep coming up even after re-installing itunes . What should i do?

    Click here and follow the instructions.
    (98897)

  • Xsl variable error not explained in earlier thread

    Steve,
    Thank you so much for your response to my earlier thread, it is difficult to focus on what I am supposed to be doing today, with all the sad news from the east coast.
    Re-visiting this variable issue one more time to try understand what is going wrong with this file.
    Below is a shortened version of the file plus the output from parsing it with xalan, saxon and oracle's two latest versions. As you see it parses fine with xalan and saxon but errors out with oracle's latest version. Should this be looked at again perhaps?
    xml file
    <?xml version="1.0"?>
    <?xml-stylesheet type="text/xsl" href="UtilDataForm.xsl"?>
    <page>
    <dataform target="News.xsql" submit="SubmitButtonTitle">
    <item type="checkboxlist" name="nameOfCheckBoxList" label="CheckBoxList">
    <ROWSET>
    <ROW><VALUE>4</VALUE><DISPLAY>This</DISPLAY></ROW>
    <ROW><VALUE>5</VALUE><DISPLAY>That</DISPLAY></ROW>
    <ROW><VALUE>6</VALUE><DISPLAY>The Other</DISPLAY></ROW>
    </ROWSET>
    </item>
    </dataform>
    </page>
    xsl file
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <!--
    | UtilDataForm.xsl: Transform <dataform> structural info
    | into a data-bound HTML Form
    +-->
    <xsl:template match="dataform">
    <xsl:variable name="form-target">
    <xsl:choose>
    <xsl:when test="@target">
    <xsl:value-of select="@target"/>
    </xsl:when>
    <xsl:when test="./target">
    <xsl:value-of select="./target"/>
    <xsl:if test="*">?</xsl:if>
    <xsl:for-each select="*">
    <xsl:value-of select="name(.)"/>
    <xsl:text>=</xsl:text>
    <xsl:value-of select="."/>
    <xsl:if test="position() != last()">
    <xsl:text>&;</xsl:text>
    </xsl:if>
    </xsl:for-each>
    </xsl:when>
    <xsl:otherwise>
    <xsl:text> </xsl:text>
    </xsl:otherwise>
    </xsl:choose>
    </xsl:variable>
    <center>
    <form method="POST" action="{$form-target}">
    <xsl:for-each select="item[@type='hidden']">
    <input type="hidden" name="{@name}" value="{normalize-space(.)}"/>
    </xsl:for-each>
    <table>
    <xsl:for-each select="item[@type != 'hidden']">
    <tr>
    <th align="right"><xsl:value-of select="@label"/></th>
    <td>
    <xsl:choose>
    <xsl:when test="@type='text'">
    <input type="text" name="{@name}"
    value="{normalize-space(.)}">
    <xsl:if test="@size">
    <xsl:attribute name="size">
    <xsl:value-of select="@size"/>
    </xsl:attribute>
    </xsl:if>
    </input>
    </xsl:when>
    <xsl:when test="@type='password'">
    <input type="password" name="{@name}"
    value="{normalize-space(.)}">
    <xsl:if test="@size">
    <xsl:attribute name="size">
    <xsl:value-of select="@size"/>
    </xsl:attribute>
    </xsl:if>
    </input>
    </xsl:when>
    <xsl:when test="@type='textarea'">
    <textarea class="code" rows="5" name="{@name}">
    <xsl:if test="@size">
    <xsl:attribute name="cols">
    <xsl:value-of select="@size"/>
    </xsl:attribute>
    </xsl:if>
    <xsl:value-of select="normalize-space(.)"/>
    </textarea>
    </xsl:when>
    <xsl:when test="@type='list'">
    <xsl:variable name="default" select="default"/>
    <select name="{@name}">
    <xsl:for-each select="ROWSET/ROW">
    <option value="{VALUE}">
    <xsl:if test="VALUE=$default">
    <xsl:attribute name="selected"/>
    </xsl:if>
    <xsl:value-of select="DISPLAY"/>
    </option>
    </xsl:for-each>
    </select>
    </xsl:when>
    <xsl:when test="@ty pe='checkboxlist'">
    <xsl:variable name="name" select="@name"/>
    <xsl:for-each select="ROWSET/ROW">
    <input type="checkbox" name="{$name}" value="{VALUE}">
    <xsl:if test="SELECTED='Y'">
    <xsl:attribute name="checked"/>
    </xsl:if>
    </input>
    <xsl:value-of select="DISPLAY"/>
    </xsl:for-each>
    </xsl:when>
    </xsl:choose>
    </td>
    </tr>
    </xsl:for-each>
    </table>
    <input type="submit" value="{@submit}"/>
    </form>
    </center>
    </xsl:template>
    </xsl:stylesheet>
    xalan output
    <?xml version="1.0" encoding="UTF-8"?>
    <center><form action="News.xsql" method="POST"><table><tr><th align="right">CheckBoxList</th><td><input value="4"
    name="nameOfCheckBoxList" type="checkbox"/>This
    <input value="5" name="nameOfCheckBoxList"
    type="checkbox"/>That
    <input value="6" name="nameOfCheckBoxList" type="checkbox"/>The Other
    </td></tr></table><input
    value="SubmitButtonTitle" type="submit"/></form></center>
    saxon output
    <?xml version="1.0" encoding="utf-8"?>
    <center><form method="POST" action="News.xsql"><table><tr><th align="right">CheckBoxList</th><td><input type="checkbox"
    name="nameOfCheckBoxList" value="4"/>This
    <input type="checkbox" name="nameOfCheckBoxList" value="5"/>That
    <input
    type="checkbox" name="nameOfCheckBoxList" value="6"/>The Other
    </td></tr></table><input type="submit"
    value="SubmitButtonTitle"/></form></center>
    oraxsl with xmlparserv2.jar dated 06/19/01 10:09
    <?xml version = '1.0'?>
    <center><form method="POST" action="News.xsql"><table><tr><th align="right">CheckBoxList</th><td><input type="checkbox"
    name="nameOfCheckBoxList" value="4"/>This
    <input type="checkbox" name="nameOfCheckBoxList" value="5"/>That
    <input
    type="checkbox" name="nameOfCheckBoxList" value="6"/>The Other
    </td></tr></table><input type="submit"
    value="SubmitButtonTitle"/></form></center>
    oraxsl with xmlparserv2.jar dated 08/04/01 20:24
    file:/W:/workorders/util/UtilDataForm.xsl: XSL-1031: (Error) Variable not defined: 'name'.
    oracle.xml.parser.v2.XPathException: Variable not defined: 'name'.
    Error occurred while processing W:\workorders\util\FormTest.xsql: file:/W:/workorders/util/UtilDataForm.xsl: XSL-1031:
    (Error) Variable not defined: 'name'.
    Thank you again for your help!
    Ola Kvalvaag
    IS Administrator
    CT&E Environmental Services Inc.

    Yeah!!! It works. Turned out to be a combination of DrKlap's and Martisan's suggestions -- had to change var frame's declaration from JFrame to MyFrame:
        MyFrame frame;Next, created the external class -- but again changed JFrame references to MyFrame:
    public class ShowOnExit extends WindowAdapter {
    //   JFrame aFrame;
       MyFrame aFrame;
       public ShowOnExit(MyFrame f) {
          aFrame = f;
       public void windowClosing(WindowEvent e)
          System.out.println("Why me???" + aFrame.textArea.getText()); // aFrame here not frame !!!
    }This worked. So looks like even though the original code added a WindowListener to 'frame', the listener didn't couldn't access frame's methods unless it was explicitly passed in as a parameter. Let me know if that's wrong.
    Thanks again, all.

  • HT1925 I am trying to open Itunes after an upgrade to itunes--it won't open and now says MSVCR80.dll is missimng.  Where do I get this missing DLL.  Also says Error 7 when trying to open (windows error 126)?? I am on Windows 7 if that matters.Help please

    I am trying to open Itunes after an upgrade to itunes--it won't open and now says MSVCR80.dll is missimng.  Where do I get this missing DLL.  Also says Error 7 when trying to open (windows error 126)?? I am on Windows 7 if that matters.Help please

    See the user tip: https://discussions.apple.com/docs/DOC-6562 for the most complete information.

  • I have followed the Apple Support instructions I did it 3 times and this message always appear: "The program can't start because MSVCR80.dll is missing from your computer" and 'Error 7' but still not able to run iTunes. Anyone have a suggestion... Please!

    I have followed the Apple Support instructions but these 2 errors always appear: "The program can't start because MSVCR80.dll is missing from your computer" and 'Error 7' but still not able to run iTunes. Anyone have a suggestion?

    Try completely removing and reinstalling iTunes and all related components; you may need to do this multiple times. It won't normally affect the iTunes library, but that should be backed up anyway.
    (99331)

  • XSL-1009: (Error) Attribute 'version' not found in 'HTML'

    Hi,
    I've got the following problem: oracle.xml.parserv2.XSLException
    <Line 1, Column 7>: XSL-1009: (Error) Attribute '{http://www.w3.org/1999/XSL/Transform}:version' not found in 'HTML'.
    and I wanted to know what are its origins and what to do to go around, knowing that:
    - we run a java application on an oracle 9iAS and it works fine !
    - we run the same application on an oracle web-to-go server and it gives this message on the client when trying to put
    - the mobile server 'java environment' is a little bit never (version) than the online environment, both servers (9ias an mobile) run on the same machine (mobile is never -> impact on client environment? Installs run under jre 1.3.01)
    - we have an xml document (DOM) and an .fo stylesheet (file/url), so no html for output! Where comes it from? The <xsl:output method="html"> has even been removed and tried with method="application/pdf", no change.
    - the function XSLProcessor.newXSLStylesheet raises this exception; to make it at least run on online environment, we used the .jar file from JDevelopper 9.0.2.822 (this .jar is used in JDev, on 9ias and mobile client)
    - the output file (via apache's fop) shows correctly in the online version, but fails the create/use of the stylesheet (tried stylesheet with xml data for output and a generique 'Hello World' .fo for pdf output, both fail)
    - the .fo starts with <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0">
    - we even tried xsl:version="1.0" and no version at all
    - the same XML parsed with an .xsl for html output works fine, in mobile, the attribute "http://www.w3.org/1999/XSL/Transform" does not show up as an error
    I guess we have a version or configuration conflict, but what exactly could it be? If you need some more version numbers, just let me know.
    Thanx very much for any help!

    Hi,
    as I wrote in the inital message, we even left out the output method or used "application/pdf". The result is unfortunately always the same. And I still claim this is not a problem with the stylesheet itself, it has to do something with the mobile's environment.
    Something I didn't tell: we have 2 servlets in our application, 1 responsible for output in html and 1 in pdf. The .fo stylesheet passed to the 'html servlet' is parsed correctly (and shows the source code, because it does not know about fo and conversion to pdf), the .xsl stylesheet passed to the 'pdf servlet' raises same exception/same line. You might tell us that there is a problem with the 'pdf servlet', but once again: why in online it is working?
    Greetings and thanx very much for your precious time!

Maybe you are looking for

  • Looking for a best query for multiple IF Else statement in a single select

    Hi I want to run multiple IF Else statements in a single select SQL, each statement is one SQL operating on the same table, what is the best way to write this select SQL query ? If it is PL/SQL, when i get the result from the first IF statement I wil

  • Unable to install any updates on MBP with snowleopard

    I think I have snowleopard.  Updates go through the download process, then it says it's writing files, etc.., then.. "unexpected error occurred", "none of updates can be installed"  No further explanation is given.  I'm trying to update my iphone, bu

  • Missing Font on Devices Page in Itunes

    I'm still having issues with my font on the device page in itunes 10.1. I've updated my font and that fixed half of my problems. I ran a font patch for windows vista and that didn't help. Before I updated my font, all text was missing on the device p

  • 2006 Mac Pro (OSX 10.7.5) and USB 3 speeds

    I'm considering the purchase of a HighPoint RocketU 1144CM USB 3.0 PCIe card and would like to know if there's anything in the architecture of my 2006 Mac Pro [Build 1,1] which might limit throughput speeds to USB2 standards. The manufacturer's [High

  • My iphone turned off by itself and it doesn't turn on

    My iphone turned off by itself and it doesn't turn on, What should i do????