Misleading XSD-validation Error In 22.214.171.124
(Doc ID 1565055.1)
Last updated on FEBRUARY 20, 2019
Applies to:Oracle Database - Enterprise Edition - Version 126.96.36.199 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.
schemavalidate() returns the following errors
ORA-31154: invalid XML document
ORA-19202: Error occurred in XML processing
LSX-00213 : only 0 occurrences of particle "PhysicalPerson", minimum is 1
when validating an XML file.
The error message is not really clear as the PhysicalPerson structure is
present in the XML.
But it is a subelement of the PhysicalPerson --> CompanyNumber - that should
raise a XSD-pattern violation (the length of Companynumber was 7):
This is the pattern:
And the subelement is
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