doctorofstyle
December 1st, 2004, 08:42 AM
I get this error when I try to import an XML Schema into Oracle's XML DB. The schema is valid when I use XML Spy, so I am not sure what Oracle could be considering an invalid character. Here is the whole error message:
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00216: invalid character 0 (0x0)
Error at line 10682
ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 0
ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 26
ORA-06512: at line 9
Not very helpful. My script is 15 lines long as it is selecting the schema from a table, so I am not sure where the line numbers refer to. The schema itself is over 550,000 characters, so its not something I can post or skim for invalid characters.
Has anyone seen this error before? If so, what did you do to fix it? Alternately, if someone knows what parser Oracle uses to parse the XML Schema, that might help me find what character(s) it is complaining about.
Thanks,
Tim
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00216: invalid character 0 (0x0)
Error at line 10682
ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 0
ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 26
ORA-06512: at line 9
Not very helpful. My script is 15 lines long as it is selecting the schema from a table, so I am not sure where the line numbers refer to. The schema itself is over 550,000 characters, so its not something I can post or skim for invalid characters.
Has anyone seen this error before? If so, what did you do to fix it? Alternately, if someone knows what parser Oracle uses to parse the XML Schema, that might help me find what character(s) it is complaining about.
Thanks,
Tim