ORA-30625: shipping method on the argument NULL SELF is not allowed

Hello


I have the following script when I = 5, it returns the value isn't always but is based on the 'i' value dynamically based on my .xml
If I use the syntax below, I get ORA-30625: shipping method on the argument NULL SELF is denied, I tried to uncomment the commented below lines but the i get no error in compilation, but he always returns null if in this case, he must come back when my i = 5, any suggestions how to solve the error ORA.




declare

l_xmltype XMLTYPE.
p_file_name constant varchar2 (50): = "xx.xml";
v_temp varchar2 (100);
Start
l_xmltype: = XMLTYPE (bfilename ('XMLDIR', p_file_name),
nls_charset_id ('AL32UTF8'));
for i from 1 to 8 loops
dbms_output.put_line ('i' | i);
-If l_xmltype.extract ('/ html/div/table/tbody/tr/td/b/text () ') is null then
-v_temp: = null;
-dbms_output.put_line ('v_temp :'|| v_temp);
-other
v_temp: = l_xmltype.extract('/html/div/table/tbody/tr/td[i]/b/text()').getStringVal ();
dbms_output.put_line ('v_tmp :'|| v_temp);
-end if;
end loop;
end;
/

Close on your attempt to paste the code.
Put the tag after the code as well. And I mean here the code word wrapped with {}

Then in the text window when you write, it would look like this (without space after the Word code)
{code}
declare
i the number;
Begin
dbms_output.put_line ('dbms_output.put_line (l_xmltype.) Extract('/HTML/DIV/table/TBODY/tr/TD[2]/text()').getStringVal ());
end;
{code}

that would translate to

declare
   i number;
Begin
   dbms_output.put_line('dbms_output.put_line(l_xmltype.extract('/html/div/table/tbody/tr/td[2]/text()').getStringVal());
end;

The text in the first example has the same size of spacing as the second example HTML cache multiple spaces, so they are different.

Tags: Oracle Development

Similar Questions

Maybe you are looking for

  • With the help of a lot of ink.

    HP officejet 6500 a model CN557A windows 7 pro 64 bit is no changes to the operating system or anything. I have this printer for about a year now, and so far I have printed total 415 pages in this time and I have gone through 1 set of 4 black cartrid

  • Class access to the Runtime library version number

    I would get programmatically (at runtime) the version number of the class that corresponds to an object. This info is available as a member of the LVClassLibrary of the current project property in the development environment only. Thanks for your hel

  • Error: Windows Update cannot enabled updates, because the service is not running.

    Original title: update for windows vista. Windows Update is not enabled updates, because the service is not running. I spent all day trying to update via different methods on different for one without a bit of luck. Can anyone help?

  • Why 'customize' does not meet the parameters of vista on a Dell laptop?

    I have a Dell Inspiron 1501 under the Vista operating system. For some reason any its has ceased to accept new office customization settings.  When I change the length of time that I want to turn off the display, put the computer to sleep or turn off

  • To come back and between Windows Vista and Windows XP

    My computer is running W-Vista and would like to know if I change the hard drive Windows XP, I have to return to my hard drive with Windows Vista to causing problems. I need to do for compatibility reasons. Concerning John JohnD