Mr. Grun,
I tested the latest BaseX 11.0 beta build 9182be0.
It emits the following result for the provided test case:
<report>
<status>valid</status>
<message level="WARNING" line="12" column="40"
url="file:/C:/Users/i300179/Downloads/Warning.xsd">FacetsContradict: For
simpleType definition '#AnonType_ADDR_TYPE', the enumeration value ''
contradicts with value of 'length' facet.</message>
</report>
We are almost there. There is one more wrinkle to smooth out.
Messages' level attribute value became UPPER-CASED:
level="ERROR"
level="WARNING"
That level attribute values shall be kept as before:
level="Error"
level="Warning"
Otherwise, it breaks existing XQuery analysis of the XSD validation.
Regards,
Yitzhak Khabinsky