GoogleCloudPlatform / google-cloud-eclipse

Google Cloud Platform plugin for Eclipse
Apache License 2.0
86 stars 49 forks source link

Servlet API validation should check namespace-version match #1834

Open briandealwis opened 7 years ago

briandealwis commented 7 years ago

WebXmlValidator checks if the <web-app> namespace is either http://xmlns.jcp.org/xml/ns/javaee or http://java.sun.com/xml/ns/javaee, but does not verify that the version attribute matches the namespace.

Should also check for a missing version.

elharo commented 7 years ago

We do check for a missing version.

We also note mismatched version but only if a schema is present.