• 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
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Understanding Namespace Context

 
Greenhorn
Posts: 23
Mac Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Everyone,

I am trying to understand what exactly is a Namespace Context and request your help in this regard.

I am trying to write a simple REST service using Provider/Dispatcher model and using XPATH to traverse the request Source.
There is a statement which sets the NameSpaceContext for the XPATH object.I understand the concept of namespace which is done in order to avoid XML name collision and for clear identification of XML elements.

What exactly is this namespace context?Why is it necessary for both client and service to use the same namespace URI for the service to work correctly,also if client and service needs to use the same namespace URI,who provides the format or the URI to the client in cases of REST services.

 
reply
    Bookmark Topic Watch Topic
  • New Topic