xmlns, xmlns:xsi, xsi:schemaLocation, and targetNamespace?
问题 For the following XML fragment: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> What do the xmlns , xmlns:xsi , and xsi:schemaLocation attributes exactly mean? How are they related? What's the : for? And there are 2 URLs in the xsi:schemaLocation= http://maven.apache.org/POM/4.0.0 (it happens to be the same as xmlns but it gives a 404