XML Database (MOSC)

MOSC Banner

XML Parsing failed with UTF-8

edited May 27, 2014 5:59PM in XML Database (MOSC) 2 commentsAnswered


We use dbms_xmlparser to retrieve data from xml files with UTF-8 encoding.  We generally have no issues with special characters. But we recently had a

ORA-31011: XML parsing failed

ORA-19202: Error occurred in XML processing

invalid character 0 (U+0000) found in a Name or Nmtoken

Error at line 231

Usually these are due to easily seen characters that can't be resolved by the parser.

But in this case the offending element content is 'orders@matrixgn.com' without the quotes.

If I remove 'gn' before the '.com' from the content, it works fine. So what is the issue with these 2 chars after the 'x' and before '.com'?

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center