XML Database (MOSC)

MOSC Banner

XDB.DBMS_XMLDOM issue

edited Aug 19, 2013 1:35AM in XML Database (MOSC) 4 commentsAnswered
Hopefully, I have the correct forum.  I am using XDB.DBMS_XMLDOM in a procedure to parse through an XML document. Recently we received an error on one document that looks normal to us:

RA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00230: invalid character 0 (U+0000) found in a Name or Nmtoken
Error at line 215
ORA-06512: at "XDB.DBMS_XMLDOM", line 4181
ORA-06512: at "XDB.DBMS_XMLDOM", line 4206
ORA-06512: at "JCIBI.JCIALL_BIREPORTS_PKG", line 1673
ORA-06512: at line 1

After googling this, it looks like LPX-00230 is usually caused by NULLs.   

When I view the file in UNIX I see one XML element wraps over to the next line. It just so happens the offending data as a decimal in it and the continued line begins with this decimal. If I remove thatd ecimal all is fine. How can I avoid this?

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