sdedic edited a comment on pull request #3012:
URL: https://github.com/apache/netbeans/pull/3012#issuecomment-866076549


   Strictly speaking the `http://maven.apache.org/POM/4.0.0` is an identifier 
although in a form of URI. The referenced 
`https://maven.apache.org/xsd/maven-4.0.0.xsd` really declares **http://** URI 
as its `targetNamespace`:
   ```
   <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"; 
elementFormDefault="qualified" xmlns="http://maven.apache.org/POM/4.0.0"; 
targetNamespace="http://maven.apache.org/POM/4.0.0";>
   ```
   so I'd say it's a lucky coincidence that a POM that uses `https://` 
namespace URI actually validates. Maybe some later authoritative statement from 
W3C changed that, [but 
originally](https://www.w3.org/TR/2009/REC-xml-names-20091208/#ns-decl)
   > The namespace name, to serve its intended purpose, SHOULD have the 
characteristics of uniqueness and persistence. It is not a goal that it be 
directly usable for retrieval of a schema (if any exists)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to