I have a fairly good understanding of how namespaces work when used in an XML document, what I don't understand is where the URI comes from or how my
IDE for example knows what elements are associated with that namespace. For example, in a
JSF file you can refer to the core JSF namespace by using the following, and that the alias "f" could be pretty much anything I would like, but the URI
must be "http://java.sun.com/jsf/core" otherwise my IDE doesn't know what those elements are and when the JSF is being processed will cause it to fail.
So obviously, the URI is important and it must be stored somewhere, but where?
I understand that the URI is not a URL, it doesn't necessarily point to a resource as it is not a Universal Resource Locator but instead a Universal Resource Identifier. My question is where is the URI actually defined and where are the elements that make up the namespace defined?