Handling texts with SMARTFORMS and SE63

Hi all
I am having a strange situation I cannot understand: I am working on a form on two side:
1) changing aspects with smartforms
2) handling texts translations with se63
The problem is that now if I made some change on text in smartform, I cannot see on output. Say I put a text in the middle of the form with "Hello world!" in, I cannot see in its output. why? Is this because I am working also with se63? I tried to leave transaction se63 to avoid eventual conflict, but still ... if now I go in smartforms transaction and try to change the form I cannot see any changes and till yesterday I did not have this kind of problem.
Any idea ?
thanks
Gabriele

The problem was that modifying form modifies were not visible .. I don't know if was because I was using also se63 on same form ... Now I solved and all is turned normal and change are visible: I closed and restart everything handling in different moment se63 and smartforms .. very strange ...
thank you anyway
Gabriele

Similar Messages

  • Rotating text with smartforms

    I want to print text rotated 90 degrees. Does anyone know if this is possible (with standaard smartform commands).

    The way to roatate text in smartforms is using the COMMAND node.  The rotation of text takes place at the printer and cannot be viewed in the print preview.
    Using the COMMAND node, Attribute to change the orientation to 90deg needs to be passed to the printer.
    The Attributes are printer dependant.
    e.g.
    In the ZPL-II printer control language the attribute is S_LZPL_SETUP.
    In this command node, enter the following under "spool control", "free attributes":
    Attribute name:  Attribute value:
    S_LZPL_SETUP     '^FWR'
    For the particular printer you are using u would need to find the appropriate attibute and the value to set it to.
    Neeraja.

  • How can I create transparent animated  text with Motion and Final Cut Pro?

    Hi all,
    I am trying to replicate an effect that a previous video editor did in a project, but I can't contact them.
    They made animated text in Live Type, and saved it as a QT movie. When this text is placed over existing video in the FCP project, the text is "transparent", basically it acts like text created in FCP (You can see the background image behind the text, like through the middle of the letter "o").
    I have made some animated text in Motion, but when I save it as a QT movie, and bring it into FCP, the whole 1280x720 screen is covered by this movie, and I have to crop it so it does not cover the background image. It is all black except for the text. And of course the text is not on a transparent layer. Any ideas how I can create this effect with animated text? I've tried messing with transparency and overlay settings, nothing seems to work.
    Running latest version of Final Cut Studio...
    Thanks
    Dave

    Just bring the Motion (.motn) project into FCP and lay it over your clip.
    The QT you're exporting has to carry the alpha channel (animation codec, million+ colors), but don't waste your time/disk space with that. Just bring the motion project into FCP.
    Patrick

  • Group texts with iPhone and Android

    I made a group text with 17 of my friends, some on iPhone and some on Android. It started out as one group text, thenme and a couple of other people found that it was creating different group texts. These new group texts wouldnt have certain people in each, there turned out to be about a total of four different group texts going on. What is a probable cause of this? And is there a way to fix the problem without making everyone turn to a third party app?

    Group texting is not one of the iPhone's stronger features. Group texting among a mix of iPhone and Android users is frequently a less than satisfactory experience. I'd go with the third party app. GroupMe is a nice cross platform app. It's free. It lets you mute certain groups if you don't want to be bothered for a while.

  • BI Publisher -RTF Template issue: Output report not maintaining text with bullets and numberings.

    Hi All,
    I am currently working with generating reports using BI Publisher. My issue is that when I will preview the output(in PDF and RTF) format's  of the newly created template, then, if the data coming from DB have some bullets or numbering, then the BI publisher output will ignore the same and will show the complete data as one single line.
    For example if the data in the DB Field is like below:
    The XYZ has the below sub-parts:
    ABC : This again has two parts:
    abc1
    abc2
    CDE
    FGH
    Then  this data will appear as below in the BI Publisher output report's:
    The XYZ has the below sub-parts: •   ABC : This again has two parts:  o     abc1  o   abc2   •    CDE    •   FGH
    I want the format of the data (with bullets and number's) should be maintained in the BI Publisher Report as well, but I am unable to find any solution for the same.
    Any help on the same is much appreciated.
    Deep Bhoj

    in your query will u get all the columns always null when column1 is null
    in your template for each group u can write like below
    think G_1 as group in your xml
    <?for-each:G_1[COLUMN1!='']?><?COLUMN1?><?COMMENTS?><?end for each?>
    or if u are not sure u get null in both places every time u can write like below
    <?for-each:G_1[COLUMN1!='' and COMMENTS!='']?><?COLUMN1?><?COMMENTS?><?end for each?>

  • InterMedia Text with USER_DATASTORE and ORA-03113

    Hi,
    I have problems using Oracle's InterMedia Text-index with a
    USER_DATASTORE. I'm using Oracle 8.1.7 on Windows NT 4.0.
    What I try to do is to create a context-index on multiple columns
    of multiple tables. I created a table containing the original
    tablenames and primary keys plus a char(1)-column to index, a
    user_datastore, a procedure in a user-schema, a
    wrapping-procedure in ctxsys' schema and finally the index. All
    works fine so far but I get an ORA-03113 "end-of-file on
    communication channel" error when querying the table with
    contains. The procedure itself works.
    Here's what I tried in detail:
    I created a table "alldocs" containing the tablename and
    primary-key-value of each line of each table plus a dummy-column
    for the index:
    create table alldocs(
    table varchar2(30) not null,
    id number not null,
    data char(1),
    primary key(tabelle, id)
    I filled this table:
    insert into alldocs (select 'MYDOCS', id, 'a' from mydocs);
    insert into alldocs (select 'OTHERDOCS', id, 'b' from otherdocs);
    The user's procedure - only dummy for testing - is:
    create procedure test.GetAllDocsData(row IN ROWID, data IN OUT
    NOCOPY CLOB) IS
         tabname varchar2(30);
         myid     number;
         tmpclob clob;
    begin
         dbms_lob.createtemporary(tmpclob, TRUE);
         dbms_lob.writeappend(tmpclob, 34, 'Ein Text mit ca. 20
    Zeichen Ldnge.');
         data := tmpclob;
    end;
    In ctxsys' schema I defined the following procedure and the
    datastore:
    create or replace procedure sysGetAllDocsData(rid in rowid, tlob
    in out clob) is
    begin
    test.GetAllDocsData(rid, tlob);
    end sysGetAllDocsData;
    grant execute on sysGetAllDocsData to test;
    call ctx_ddl.create_preference('MyUserDS', 'user_datastore');
    call ctx_ddl.set_attribute('MyUserDS', 'procedure',
    'sysGetAllDocsData');
    call ctx_ddl.set_attribute('MyUserDS', 'output_type', 'CLOB');
    Finally I defined the index:
    create index test.alldocs_ctx on test.alldocs(data)
         indextype is ctxsys.context
         parameters ('DATASTORE CTXSYS.MyUserDS FILTER
    CTXSYS.INSO_FILTER LEXER BASIC_LEXER');
    This all works without errors. But when querying like this:
    select * from test.alldocs where contains('data', 'Text')>0
    the answer is
    ORA-03113: end-of-file on communication channel
    I hope someone can help.
    Greetings
    Ralf

    Hi Ralf,
    please define first your own preferences like this:
    exec CTX_DDL.drop_preference('MY_LEXER');
    exec CTX_DDL.create_preference('MY_LEXER','BASIC_LEXER');
    exec CTX_DDL.set_attribute('MY_LEXER','ALTERNATE_SPELLING',
    'GERMAN');
    exec CTX_DDL.set_attribute('MY_LEXER','BASE_LETTER','YES');
    exec CTX_DDL.set_attribute('MY_LEXER','MIXED_CASE', 'NO');
    exec CTX_DDL.set_attribute('MY_LEXER','INDEX_THEMES','NO');
    exec CTX_DDL.set_attribute('MY_LEXER','INDEX_TEXT', 'YES');
    exec CTX_DDL.set_attribute('MY_LEXER','COMPOSITE', 'GERMAN');
    exec ctx_ddl.Drop_Preference ('MY_FILTER');
    exec ctx_ddl.Create_Preference ('MY_FILTER','NULL_FILTER');
    exec ctx_ddl.drop_section_group ('MY_SECTION');
    exec ctx_ddl.create_section_group
    ('MY_SECTION','NULL_SECTION_GROUP');
    and then create your index with this preferences. You only need
    an INSO filter if you want to index pdf,word,...
    create index test.alldocs_ctx on test.alldocs(data)
         indextype is ctxsys.context
         parameters ('DATASTORE CTXSYS.MyUserDS FILTER
    CTXSYS.INSO_FILTER LEXER BASIC_LEXER');create index test.alldocs_ctx on test.alldocs(data)
         indextype is ctxsys.context
         parameters ('
    DATASTORE CTXSYS.MyUserDS
    lexer MY_LEXER
    filter MY_FILTER
    section group MY_SECTION');
    Then see in the token table what tokens are in the index:
    select token_text from dr$alldocs_ctx$i;
    If you got also an ORA-3113 see in alert.log if there is a trace
    referenced with this error and have a look in this file to find a
    better error message.
    Good luck.
    Thomas

  • FF 4.01 does not handle Text Box correctly and some pages need reloading before showing correctly

    FF 4.01 does two things incorrectly when displaying some sites which are not replicated on Google Chrome:
    # 1: Some pages do not load correctly first time and the images and text are spread out vertically one by one.
    # 2: Where websites use inserted TEXTBOXES or ONLINE FORMS these do not function and come up with error messages like as given below. These do not reset correctly if the page is reloaded.
    FreeTextBox has not been correctly installed. To install FreeTextBox either:
    (1) add a reference to FtbWebResource.axd in web.config:
    <system.web>
    <httpHandlers>
    <add verb="GET"
    path="FtbWebResource.axd"
    type="FreeTextBoxControls.AssemblyResourceHandler, FreeTextBox" />
    </httpHandlers>
    </system.web>
    (2) Save the FreeTextBox image and javascript files to a location on your website and set up FreeTextBox as follows
    <FTB:FreeTextBox id="FreeTextBox1" SupportFolder="ftbfileslocation" JavaScriptLocation="ExternalFile" ButtonImagesLocation="ExternalFile" ToolbarImagesLocation="ExternalFile" ButtonImagesLocation="ExternalFile" runat="server" />

    Your above posted system details show outdated plugin(s) with known security and stability risks.
    *Shockwave Flash 9.0 r999
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/
    In Firefox 3.6 and later versions you need the Next-Generation Java™ Plug-In present in Java 6 U10 and later (Linux: libnpjp2.so; Windows: npjp2.dll).
    http://java.com/en/download/faq/firefox_newplugin.xml
    See also http://java.sun.com/javase/6/webnotes/install/jre/manual-plugin-install-linux.html

  • Handling text with ANSI codes in it

    Now I don't think this should be as hard as I'm making it out to be. The idea here is to properly display MUD text that is sent back to the player. The screen width is 80 characters. So basically we should wind up doing this:
    -Count all characters in this line of text (which can be very large mind you) and make a new line every 80 characters. Words must be kept whole. The ANSI escape codes are ignored.
    I've come up with code to (attempt) to solve this problem. I know it's extremely[b] inefficient for the counting of the characters, but I'm not really interested in that. What I'm more interested in is why I'm getting extremely wacky displays compared to when I use another method (one that was already written in the class I'm playing around with--the method is a huge for loop by the way).
    This is the code that I've come up with:
    String data2 = data;
        data2 = data2.replace("[BLACK]", "");
        data2 = data2.replace("[BLUE]", "");
        data2 = data2.replace("[CYAN]", "");
        data2 = data2.replace("[GREEN]", "");
        data2 = data2.replace("[MAGENTA]", "");
        data2 = data2.replace("[RED]", "");
        data2 = data2.replace("[WHITE]", "");
        data2 = data2.replace("[YELLOW]", "");
        data2 = data2.replace("", "");
    data2 = data2.replace("[R]", "");
    //Black.
    data = data.replace("[BLACK]", "\033[30m");
    //Blue.
    data = data.replace("[BLUE]", "\033[34m");
    //Cyan.
    data = data.replace("[CYAN]", "\033[36m");
    //Green.
    data = data.replace("[GREEN]", "\033[32m");
    //Magenta.
    data = data.replace("[MAGENTA]", "\033[35m");
    //Red.
    data = data.replace("[RED]", "\033[31m");
    //White.
    data = data.replace("[WHITE]", "\033[37m");
    //Yellow.
    data = data.replace("[YELLOW]", "\033[33m");
    //Bold.
    data = data.replace("[B]", "\033[1m");
    //Regular.
    data = data.replace("[R]", "\033[22m");
    //Count the characters. If they're greater than SCREEN_WIDTH, the lines need to be return-
    //spaced somehow.
    String output = data;
    String res = "";
    int charactersOnLine = data2.length();
    int inserts = (int)(charactersOnLine / SCREEN_WIDTH);
    for (int c = 0; c < inserts; c++) {
    System.out.println("output: " + output);
    if (charactersOnLine > SCREEN_WIDTH) {
    int charactersToGoBack = charactersOnLine - SCREEN_WIDTH;
    int indexOfNewLine = output.lastIndexOf(" ", (charactersOnLine - charactersToGoBack));
    String temp = output.substring(indexOfNewLine);
    System.out.println("Inserting at: " + indexOfNewLine);
    output = insert(output, "\r\n", indexOfNewLine);
    res += output;
    output = temp;
    The insert method was devised to stick a character into the middle of the String:
      public static String insert(String theString, String stringToBeInserted,
                                  int pos) {
        String beforeString = theString.substring(0, pos + 1);
        String endString = theString.substring(pos + 1, theString.length() - 1);
        beforeString += stringToBeInserted;
        beforeString += endString;
        return beforeString;
      }Yes, I know... no error checks or throwing of exceptions. That's not really what I'm after right now though. Those will be added later once the stuff is actually working...
    Here's the output with the method I'm working on right now (This is in XP's telnet client). The ANSI parses fine... It's the text placement I'm concerned about.
    The output with the new method:
    Please select a race:
                          Dwarf
                               d) Half-Elf       j) Illithid
                                                            e) Gnome       k) Troll
                                                                                   f
    ) Aasimar        l) Tiefling
                                >a
    Choose a gender for your character (M/F):
                                             >m
    Gender chosen: male
                       The MORTAL Human Lazerz has been created.
                                                                 north up
                                                                          A Head Hel
    m X90 lies here, gleaming.
                              HP: 5/5 MV: 0/0 ]>l
    north up
              A Head Helm X90 lies here, gleaming.
                                                  HP: 5/5 MV: 0/0 ]>l
    north up
              A Head Helm X90 lies here, gleaming.
                                                  HP: 5/5 MV: 0/0 ]>Here' s what it's supposed to look like (This is output from the old clunky gigantic for loop):
    Please select a race:
    a) Human          g) Drow Elf
    b) Moon Elf       h) Ogre
    c) Dwarf          i) Duergar Dwarf
    d) Half-Elf       j) Illithid
    e) Gnome       k) Troll
    f) Aasimar        l) Tiefling
    aChoose a gender for your character (M/F):
    mGender chosen: male
    The MORTAL Human Ao has been created.
    Test Room
    This is the room that all testing occurs in. Here is where the Lord Ao will
    reside in the future as well.
    Exits: north up
    A Human Commoner is here.
    A Head Helm X90 lies here, gleaming.As you can see... There's quite a difference when using the two methods. The goal here is to fix the method I'm trying to make work. :)
    Also: No, this isn't homework. And I would put up Duke Dollars if I had any left to put up.

    Eh.. Must of forgot . o_o

  • Search on text with diacritic, and case insensitive

    Hello to all,
    I'm using this condition in a query on XML:
    field[contains(@value, "gangesa" )
    If @value= 'Gaṅgeśa' I'd like to get this record also by using the word: "gangesa" So I need to map:
    ṅ = n
    ś = s
    And do it in case insensitive. Somebody can help me?
    Thank you,
    Cristian                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    ALTER SESSION SET NLS_COMP=LINGUISTIC;
    ALTER session set nls_sort='binary_ai'; -->accent insensitive
                 binary_ci -->case insensitive.
    with t as
    (select 'Gageśa' col1 from dual union all
    select 'GAgEśa'  from dual union all
    select 'gagEśA'  from dual union all
    select 'not Gageśa' from dual
    select * from t where col1 like '%gagesa';
    Gagesa
    GAgEsa
    gagEsA
    not Gagesaand do the search.
    Edited by: PhoenixBai on Aug 25, 2010 10:14 PM

  • How to extract sql text with SID and SERIAL#

    Hi,
    I am new to oracle database and recently i have started my journey in performance tuning.
    i need to extract sql text which is fired by user based ont SID and SERIAL#.
    Thanks in advance..
    prabha

    seankim wrote:
    Hi~
    select a.sid, a.serial#, b.sql_fulltext
    from   v$session a, v$sql b
    where  decode(a.sql_id,null,a.prev_sql_id, a.sql_id)=b.sql_id
    and    decode(a.sql_id,null,a.prev_child_number, a.sql_child_number)=b.child_number
    and    a.sid=&sid
    and    a.serial#=&serial;
    Also a bad idea - have you checked the exection plan ?
    Do you think it might be a good idea to think about the need for statistics on fixed objects ?
    Here's a possible plan from 11.1.0.7 - and it's not very nice.
    | Id  | Operation                  | Name              | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT           |                   |     1 |  2182 |     0   (0)| 00:00:01 |
    |   1 |  NESTED LOOPS              |                   |     1 |  2182 |     0   (0)| 00:00:01 |
    |   2 |   MERGE JOIN CARTESIAN     |                   |     1 |  2075 |     0   (0)| 00:00:01 |
    |   3 |    NESTED LOOPS            |                   |     1 |    39 |     0   (0)| 00:00:01 |
    |*  4 |     FIXED TABLE FIXED INDEX| X$KSLWT (ind:1)   |     1 |    26 |     0   (0)| 00:00:01 |
    |*  5 |     FIXED TABLE FIXED INDEX| X$KSLED (ind:2)   |     1 |    13 |     0   (0)| 00:00:01 |
    |   6 |    BUFFER SORT             |                   |     1 |  2036 |     0   (0)| 00:00:01 |
    |*  7 |     FIXED TABLE FULL       | X$KGLCURSOR_CHILD |     1 |  2036 |     0   (0)| 00:00:01 |
    |*  8 |   FIXED TABLE FIXED INDEX  | X$KSUSE (ind:1)   |     1 |   107 |     0   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       4 - filter("W"."KSLWTSID"=82)
       5 - filter("W"."KSLWTEVT"="E"."INDX")
       7 - filter("INST_ID"=USERENV('INSTANCE'))
       8 - filter("S"."INDX"=82 AND "S"."KSUSESER"=53 AND "S"."INST_ID"=USERENV('INSTANCE')
                  AND BITAND("S"."KSSPAFLG",1)<>0 AND BITAND("S"."KSUSEFLG",1)<>0 AND
                  "KGLOBT03"=DECODE("S"."KSUSESQI",NULL,"S"."KSUSEPSI","S"."KSUSESQI") AND
                  "KGLOBT09"=DECODE("S"."KSUSESQI",NULL,DECODE("S"."KSUSEPCH",65535,TO_NUMBER(NULL),"S"."K
                  SUSEPCH"),DECODE("S"."KSUSESCH",65535,TO_NUMBER(NULL),"S"."KSUSESCH")))You need to avoid the "full tablescan" of the library cache.
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com

  • ADF Faces: af:input text with autosubmit and tabbing

    We have a series of af: inputText fields in a table. The autosubmit attribute is set to true so that we can process the change and also update some totals in the table. Only trouble is the user has to tab out of the cell twice. The first tab submits the change, the second moves the focus to the next cell.
    This really is not user friendly. Any ideas to fix/workaround this???

    G'day RZ
    How are you doing the PPR? Using the partialTriggers attribute or programmatically in your ValueChangeListener?
    This is what I tried:
    A page:
    <af:inputText label="Label 1"
                  binding="#{backBean.inputText1}"
                  id="inputText1"
                  autoSubmit="true"
                  valueChangeListener="#{backBean.doSomething1}"/>
    <af:inputText label="Label 2"
                  binding="#{backBean.inputText2}"
                  id="inputText2"
                  autoSubmit="true"/>
    <af:inputText label="Label 3"
                  binding="#{backBean.inputText3}"
                  id="inputText3"
                  autoSubmit="true"
                  partialTriggers="inputText1"/>And in my backing bean the following ValueChangeListener:
    public void doSomething1(ValueChangeEvent event) {
      String value1 = inputText1.getValue() == null ? null : inputText1.getValue().toString();
      String value2 = inputText2.getValue() == null ? null : inputText2.getValue().toString();
      inputText3.setSubmittedValue(null);
      inputText3.setValue(value1 + value2);
    }On running the web page, entering a value in inputText1 and tabbing out, the cursor correctly moves to inputText2 with inputText3 being updated via the PPR and ValueChangeListener.
    So I'm guessing you're doing something interesting in your ValueChangeListener to exhibit the problem you're seeing.
    With apologies if I'm telling you to suck eggs here, but best start with the basics and eliminate them first.
    CM.

  • Text with gradients and outlines and multicolors

    Friends,
    A buddy of mine created text by "doubling" in ILLUSTRATOR.
    I don't like the way it looks: can INDD do better? How?
    Here's the relevant screen shot:
    http://www.ccwatershed.org/media/photologue/photos/368_Roses.jpg

    A buddy of mine created text by "doubling" in ILLUSTRATOR.
    I don't like the way it looks:
    What don't you like???
    can INDD do better?
    InDesign and Illustrator are just pieces of software - it's the end user that makes the final decision on how it looks.

  • Can a PDF template be created with editable and non-editable areas?

    Hi
    Sorry - probably a bit of a newbie question but i can't find an answer to this anywhere. Hope i'm also posting in the most relevant forum - apologies if i'm not.
    I have been asked by a client if i can create (from an existing illustrator CS4 file) a PDF template with restricted editable areas - two to handle text for email and physical address and one to allow logos to be swapped. All other items and text need to be locked. Is it feasible to create this from the Illustrator file (or InDesign, Acrobat Pro etc) and if so how? and what software would the client need in order to do the edits and then save as a final version for print?
    Hope that makes sense and that someone can help.
    thanks in advance, Tom

    Thanks for the reply Niall.
    I ended up chanigng the numeric field to a decimal field instead, and added the following display pattern: num{zzzz9.99'%'}
    So although the user can't enter a % symbol into the field, a % symbol automaticaly populates when the user enters a number.
    My criteria involved ensuring that a user could not enter a number with more than two numbers after the decimal, so I also set a trailing digits max of 2 (in the Obect > Field settings)
    This is the FormCalc formula I used in the "calculate" event to calculate the salary increase amount request: (DecimalField1 * NumericField2) *.01 + NumericField2
    This formula is meant to calculate the salary amount a manager is requesting their employee's salary be increased to.

  • Handling Errors in Smartforms

    Smartform Experts,
    We are having issues with smartform and it errors out only in particular cases. Is there a way to handle Errors in Smartforms and find out exactly where the error occured in Form and catch the relevant Error message.
    Appropriate reward point will be awarded.
    Thanks
    Prasad

    Hi Prasad,
    You can debug smartform in 2 ways.
    1. put break-point in a program lines and debug.
    2. goto the smartform function module.
       Goto->Main Program
       double click on the last include program name, which will take you to the code which we write in smartform program lines.
    there select the appropriate line and click on STOP button to put a break point.
    then run the program, system will stop at the break point, from there you can debug line by line.
    i would prefer the 2nd way to debug smartforms than 1 way.
    coz in 1st way we have change the form, which is not possible in quality and production systems.
    if this suits your requirement, pls award the points.
    Satish

  • Problems with XMLType and namespace

    Dear subscribers:
    I have been using XMLType successfully with simple XMLs - without namespaces. Now I must handle messages with "xmlns" and it seems XMLType is failing.
    I tested the following XML, extracted from w3c.org examples:
    <?xml version="1.0"?>
    <bk:book xmlns:bk=''urn:loc.gov:books''
    xmlns:isbn=''urn:ISBN:0-395-36341-6''>
    <bk:title>Cheaper by the Dozen</bk:title>
    <isbn:number>1568491379</isbn:number>
    </bk:book>
    The result of “xmlt.getRootElement()” is “book”.
    However, the use of “xmlt.extract( 'book' )” returns an empty object:
    xmlt1 := xmlt.extract( 'book' );
    dbms_output.put_line( 'StringVal: ' || xmlt1.getStringVal() );
    ORA-30625: method dispatch on NULL SELF argument is disallowed
    The following usages also raise errors:
    xmlt1 := xmlt.extract( 'bk:book' );
    ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing LPX-00601: Invalid token in: 'bk:book' ORA-06512: at "SYS.XMLTYPE", line 111
    xmlt1 := xmlt.extract( 'bk::book' );
    ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing LPX-00601: Invalid token in: 'bk::book' ORA-06512: at "SYS.XMLTYPE", line 111
    xmlt1 := xmlt.extract( 'book', 'bk' );
    ORA-31013: Invalid XPATH expression ORA-06512: at "SYS.XMLTYPE", line 119
    I am using Oracle version 10.2.0.1.0. Had someone also faced this problem?
    The code I used to test is at the end of this message.
    Thanks in advance
    ====================================
    DECLARE
    xml varchar2(32000);
    xmlt XMLType;
    xmlt1 XMLType;
    root varchar2(3000);
    BEGIN
    --Example from w3c.org
    xml := '<?xml version="1.0"?>
    <bk:book xmlns:bk=''urn:loc.gov:books''
    xmlns:isbn=''urn:ISBN:0-395-36341-6''>
    <bk:title>Cheaper by the Dozen</bk:title>
    <isbn:number>1568491379</isbn:number>
    </bk:book>';
    xmlt := XMLType( xml );
    root := xmlt.getRootElement();
    dbms_output.put_line( 'StringVal: ' || xmlt.getStringVal() ); -- The XML is ok…
    dbms_output.put_line( 'Namespace: ' || xmlt.getNameSpace() ); -- Returns NULL
    dbms_output.put_line( 'Root element: ' || root ); -- Returns ‘book’
    dbms_output.put_line( 'Exists: ' || xmlt.existsNode('book') ); -- Returns ZERO
    xmlt1 := xmlt.extract( 'bk:book' ); Raises error (see above)
    xmlt1 := xmlt.extract( 'bk::book' ); Raises error (see above)
    xmlt1 := xmlt.extract( 'book', 'bk' ); Raises error (see above)
    --xmlt1 := xmlt.extract( 'book' );
    dbms_output.put_line( 'StringVal: ' || xmlt1.getStringVal() ); Raises error
    END;
    /

    If you put your XML into a namespace then you also need to extract from that namespace.... e.g.
    No namespace...
    SQL> select t.xml.extract('myroot')
    2 from (select XMLTYPE('<myroot><mychild>test</mychild></myroot>') as xml from dual) t
    3 ;
    T.XML.EXTRACT('MYROOT')
    <myroot>
    <mychild>test</mychild>
    </myroot>Put XML in namespace and now the extract returns nothing...
    SQL> ed
    Wrote file afiedt.buf
    1 select t.xml.extract('myroot')
    2* from (select XMLTYPE('<myroot xmlns="fred"><mychild>test</mychild></myroot>') as xml from dual) t
    3 /
    T.XML.EXTRACT('MYROOT')
    --------------------------------------------------------------------------------------------------------Extract, specifying the namespace to extract from and now returns the result...
    SQL> ed
    Wrote file afiedt.buf
    1 select t.xml.extract('myroot', 'xmlns="fred"')
    2* from (select XMLTYPE('<myroot xmlns="fred"><mychild>test</mychild></myroot>') as xml from dual) t
    SQL> /
    T.XML.EXTRACT('MYROOT','XMLNS="FRED"')
    <myroot xmlns="fred">
    <mychild>test</mychild>
    </myroot>
    SQL>;)

Maybe you are looking for

  • How do i share music between my ipod and iphone

    I have music on my ipod that i would like on my phone and i want to have it on both devices with out hooking my phone up to my lab top. there has to be a way to have it on both devices they are on the same apple id

  • Ipod says has no music right after restoring and syncing

    It started with my ipod randomly going to menu in the middle of a song. Then it started skipping. And finally it would go from song to song but wouldn't play. So I restarted it while walking to class. When it got back to the menu it said there were n

  • MDX not working in Power View on sharepoint 2013

        I have this MDX statement below that should be able to dynamically give me a % of total for any dimension.  IN power View (sharepoint 2013) I am getting an error.  It works in Excel and works in the AS browser but will not seem to work in power v

  • Abroad Vendor Master Currency

    Hi, Suppose creating a vendor which is a foreign nation . Then in the vendor master , in 'order currency ' field which currency I should put? Whether currency of nation where the vendor exists ? Please reply ASAP. regards,

  • IMovie keeps resizing my video clips

    I've been working on this video project for my French class and when i was finishing up I noticed that many of my earlier clips in my project had been shrunken to smaller increments than I had originally made. This has pretty much ruined the whole pr