Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Please explain xmlns, xmlns:xsi, xsi:schemaLocation

 
Mike Gershman
Ranch Hand
Posts: 1272
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
At the start of web.xml are three parameters that I have been copying without understanding. I realize the xmlns is a "namespace" and xmlns, xmlns:xsi and xsi:schemaLocation are the schema for web.xml, but does that mean that every web container in the world is making repeated references to Sun's web site whenever it starts up? Talk about a single point of failure!

Do robust production systems keep local copies of these files?

What is the format of these files? What are my choices? Why are there variations of the xmi:schemaLocation parameter that seem to make no difference?

What is the alternate beginning of web.xml that begins with
<!DOCTYPE web-app PUBLIC "-//Sun ...

Can anyone point me to an online reference that explains this stuff?

Thanks very much!
 
Neeraj Dheer
Ranch Hand
Posts: 225
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
see if this makes any sense

http://www.xfront.com/HideVersusExpose.html
 
D Rog
Ranch Hand
Posts: 472
Linux Objective C Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good question. I can't start servlet container in an isolated (w/o Interent) environment, until I setup a fake Sun's web site with this dtd.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic