My Oracle Support Banner

ORA-31154 ORA-19202 LSX-00333 tag <xs:pattern Value="(doc|docx)"/> on some XSD schemas (Doc ID 2450530.1)

Last updated on MARCH 27, 2019

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.


Tags in some XSD files for xml schema are not parsed.

An XSD uses XPATH syntax and sometimes the XML parser says that value "docx" or "doc" is not valid in XML or vise versa.

ORA-31154: invalid XML document
ORA-19202: Error occurred in XML processing
LSX-00333: literal "docx" is not valid with respect to the pattern
ORA-06512: at "SYS.XMLTYPE", line 354
ORA-06512: at line 13


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.