java - How to resolve namespace file location -


in 1 xslt found namespace xmlns:ns="http://www.sometext.co.jp/ns" url returns 404 error , there no url mapping in tomcat container. please let me know how , found namespace file , function defined in it.

namespace names uri (by convention) can arbitrary name. excerpt linked wiki page:

a namespace name uniform resource identifier (uri). typically, uri chosen namespace of given xml vocabulary describes resource under control of author or organization defining vocabulary, such url author's web server. however, namespace specification not require nor suggest namespace uri used retrieve information; treated xml parser string.

that means cannot expect fetch url.


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -