Affected version
HEAD
Bug description
It does not only allow the correct namespace and no namespace. Any random URL or string you throw in does not cause an error:
<project xmlns="https://ff.com">
<!-- Test that we can parse a pom.xml with no namespace -->
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.maven.its</groupId>
<artifactId>missing-namespace</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>pom</packaging>
</project>
Affected version
HEAD
Bug description
It does not only allow the correct namespace and no namespace. Any random URL or string you throw in does not cause an error: