Oracle Error Message
ORA-19271: XPST0051 – invalid atomic type definition
Reason for the Error
The QName used as an AtomicType in a SequenceType was not defined in the in-scope type definitions as an atomic type.
Solution
Use the correct atomic type name.