-
1. Re: validation.xml version 1.1schema reference warning - root element of the document is not <xsd:schema>
jaikiran May 14, 2017 11:42 PM (in response to gerry.matte)Can you please paste the complete xsd declaration in that validation.xml that's there in the META-INF?
-
2. Re: validation.xml version 1.1schema reference warning - root element of the document is not <xsd:schema>
gerry.matte May 14, 2017 11:56 PM (in response to jaikiran)I inserted line 2 and reformatted line 3 for easier analysis:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE xml>
<validation-config xmlns="http://jboss.org/xml/ns/javax/validation/configuration"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1"
xsi:schemaLocation="http://jboss.org/xml/ns/javax/validation/configuration validation-configuration-1.1.xsd"
/>
-
3. Re: validation.xml version 1.1schema reference warning - root element of the document is not <xsd:schema>
jaikiran May 15, 2017 2:25 AM (in response to gerry.matte)Gerry Matte wrote:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE xml>
<validation-config xmlns="http://jboss.org/xml/ns/javax/validation/configuration"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1"
xsi:schemaLocation="http://jboss.org/xml/ns/javax/validation/configuration validation-configuration-1.1.xsd"
/>
That looks a bit odd. Can you change that xsi:schemaLocation to:
xsi:schemaLocation="http://jboss.org/xml/ns/javax/validation/configuration http://www.jboss.org/xml/ns/javax/validation/configuration/validation-configuration-1.1.xsd"
-
4. Re: validation.xml version 1.1schema reference warning - root element of the document is not <xsd:schema>
gerry.matte May 15, 2017 2:44 PM (in response to jaikiran)That did it.
Thank you Jaikiran.
I will notify George Gastaldi since the incorrect version was generated from Forge.
Gerry