ORA-00600: [qmxtcCtxConvertstring], [2], [2] On dbms_xmlgen.convert() (Doc ID 435555.1)

Last updated on AUGUST 29, 2010

Applies to:

Oracle Server - Enterprise Edition - Version: 10.2.0.3 and later   [Release: 10.2 and later ]
Information in this document applies to any platform.
Checked for Relevance on 30-Aug-2010

Symptoms

ORA-600 [qmxtcCtxConvertString] when executing select dbms_xmlgen.convert('a & b', 1) from dual;


The top of the stack trace is:

qmxtcCtxConvertString <- spefcpfa <- spfmccallstd <- pextproc <- psdexsp

If a valid escape code is used for the ampersand then the query succeeds.

The problem is that updateXML() should accept text including non-escaped general entities, but due to this problem is does not. The error ORA-31067 'XML nodes must be updated with valid nodes and of the same type' may be reported as well or instead of this error.

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