4 Replies Latest reply on May 15, 2017 2:44 PM by gerry.matte

    validation.xml version 1.1schema reference warning - root element of the document is not <xsd:schema>


      Using eclipse Neon.3 I generated a project that included a validation.xml file in the META-INF folder.


      I tried to track down an xml validation error: schema_reference.4: Failed to read schema document 'validation-configuration-1.1.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>


      When I opened the file referenced as xsi:schemaLocation="http://jboss.org/xml/ns/javax/validation/configuration validation-configuration-1.1.xsd" I discovered that 3) in the above line was accurate.  The root element at line 18 in the xml is xs:schema attributeFormDefault="unqualified" not xsd:schema


      Is this an error ?  I note that version 1.0 also uses xs:schema