My Oracle Support Banner

XSLT.TRANSFORM WRONG RESULT ON 19.8 (Doc ID 2746035.1)

Last updated on APRIL 17, 2023

Applies to:

Oracle Database - Enterprise Edition - Version 19.8.0.0.0 to 21.1 [Release 19 to 20.0]
Information in this document applies to any platform.

Symptoms

On : 19.8.0.0.0 version, XML Database using XSLT.TRANSFORM gives wrong result on 19.8 and later

ACTUAL BEHAVIOR
---------------
set serverout on size 20000
declare
 ret CLOB;
 in_xml clob;
 in_xsl clob;
begin
 -- Test statements here
 select xml_doc,xsl_doc into in_xml,in_xsl from sbr where id=1;
 ret := test#xslt.transform(in_xml, in_xsl);
 dbms_output.put_line(ret);
end;
/

--19.9 Output
<ContractReferences>
<ContractReference IdType="ASBS" IdScheme="contractNumber" Id=""/>
<ContractReference IdType="ASBS" IdScheme="BUSINESSPROCESSNO" Id=""/>
</ContractReferences>

--11.2.0.4 Output
<ContractReferences>
<ContractReference IdType="ASBS" IdScheme="contractNumber" Id="???10000000000"/>
<ContractReference IdType="ASBS" IdScheme="BUSINESSPROCESSNO" Id="000000"/>
</ContractReferences>


Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.