validate:xsd-report() is not emitting warnings
Wednesday, 5 June 2024 · 1 message
CG
Christian Grün5 Jun 2024 16:41 #
…fixed.
Quoted text · PM · 31 lines
On Wed, Jun 5, 2024 at 4:28 PM <ykhabins at bellsouth.net> wrote: > 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 > > >
Written for BaseX 10.7. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery