Error is thrown:
[error] cvc-complex-type.2.4.a: Invalid content was found starting with element 'xi:include'. One of '{"http://domaincom":fred}' is expected.
Support for xi:include is super important for larger XML/XSD collections. (Note, Altova XML spy correctly processes the includes and validates, if you need a non-code-based check.)
If XSD requires:
And XML has:
Error is thrown:
[error] cvc-complex-type.2.4.a: Invalid content was found starting with element 'xi:include'. One of '{"http://domaincom":fred}' is expected.
Support for xi:include is super important for larger XML/XSD collections. (Note, Altova XML spy correctly processes the includes and validates, if you need a non-code-based check.)