• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Please explain xmlns, xmlns:xsi, xsi:schemaLocation

 
Ranch Hand
Posts: 1272
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Ranch Hand
Posts: 225
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
see if this makes any sense

http://www.xfront.com/HideVersusExpose.html
 
Ranch Hand
Posts: 472
Objective C Ubuntu Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic