Hi ,
i am getting the following error during parsing
it fails during getdoctype().i got the solution from asktom website like it should be some problem with xdk installation , i installed 10g and tried the same , still same error , can someone tell the solution for this
declare
l_p xmlparser.parser;
l_root varchar2(32700) := 'CUSTOMERSAVE';
begin
for rec1 in (select * from xml_tab where docid = 1)
loop
l_p := xmlparser.newparser;

xmlparser.setvalidationmode(l_p, true);

xmlparser.parsedtdclob(l_p,rec1.dtd, l_root);

xmlparser.setdoctype(l_p, xmlparser.getdoctype(l_p));

if xmlparser.getvalidationmode(l_p) then

dbms_output.put_line('TRUE');
else
dbms_output.put_line('FALSE');
end if;

-- now the parse will attempt to validate vs the
-- dtd
xmlparser.parseclob(l_p, rec1.xmldoc);

if xmlparser.getvalidationmode(l_p) then

dbms_output.put_line('valid');
else
dbms_output.put_line('invalid');
end if;

end loop;
end;

any dtd doc fails , but it works fine in 9.2.0.1.0 version

what could be the problem.......


thanks in advance