Eclipse 3.0.1 / MyEclipse 3.8.2
MyEclipse-Validation property page – default
I think I’m running into a validation problem. I’m getting errors on any XML file in XML-Schema format – currently two TLD files and web.xml. The error marker is placed at the “version” attribute of the root element. The error text is “cvc-elt.1: Cannot find the declaration of element ‘name’ ” where name is the root element. When I turn off validation, the problem disappears. Here is the root element of one of the files in question:
<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee web-jsptaglibrary_2_0.xsd"
version="2.0">
Have you seen this before?