Xmltype.transform returns error LPX-00234: namespace prefix "tns" is not declared (Doc ID 2280472.1)

Last updated on JUNE 26, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.4 to 12.1.0.2 [Release 11.2 to 12.1]
Information in this document applies to any platform.

Symptoms

On : 11.2.0.4 version, XML Database

After uprgade to 11.2.0.4 - xmltype.transform does not work as expected


ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00234: namespace prefix "tns" is not declared
Error at line 2
 

Same procedure worked on 11.2.0.3

ERROR
-----------------------
ORA-31011: ORA-19202: LPX-00234

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms