How to fix the Oracle error ORA-19018: Invalid character in XML tag ‘string’?

In this post, you’ll learn more about the Oracle ErrorORA-19018: Invalid character in XML tag ‘string’ with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

ORA-19018: Invalid character in XML tag ‘string’

Reason for the Error ORA-19018: Invalid character in XML tag ‘string’

A tag name was found to have an invalid XML character during XML generation.

How to fix the Error ORA-19018: Invalid character in XML tag ‘string’ ?

You can fix this error in Oracle by following the below steps

Rewrite the query so that the generated XML tag, corresponding to a column name or alias, contains only valid characters.

Tags :

Leave Your Comment