In one xslt I found namespace as xmlns:ns="http://www.sometext.co.jp/ns"
but this url returns 404 error and there is no url mapping in tomcat container.
Could anyone please let me know how and where I found the namespace file and the function defined in it.
Asked
Active
Viewed 243 times
0

Ashish Aggarwal
- 3,018
- 2
- 23
- 46
-
Namespaces don't have to point to actual pages. – user253751 Sep 21 '15 at 07:05
-
You might want to read this: [what is the use of xsi:schemaLocation?](http://stackoverflow.com/questions/5875021/what-is-the-use-of-xsischemalocation) – Andreas Sep 21 '15 at 07:21
1 Answers
3
Namespace names only look like an URI (by convention) but they can be nearly any arbitrary name. An excerpt from the linked wiki page:
A namespace name is a uniform resource identifier (URI). Typically, the URI chosen for the namespace of a given XML vocabulary describes a resource under the control of the author or organization defining the vocabulary, such as a URL for the author's Web server. However, the namespace specification does not require nor suggest that the namespace URI be used to retrieve information; it is simply treated by an XML parser as a string.
That simply means that you cannot expect to fetch anything from that URL.

Seelenvirtuose
- 20,273
- 6
- 37
- 66