• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NameSpaces doubt

 
Divya Gehlot
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
---------------------------------------------------------------------------
A SOAP message adheres to the SOAP 1.1 XML schema, which requires that elements and attributes be fully qualified (use prefixes or default namespaces).
---------------------------------------------------------------------------
Can any explain me what do we mean by qualified and unqualified nameSpaces ??
 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ronald Bourret's XML Namespaces FAQ: 8.2) What are qualified and unqualified local names in XML Schemas?

In XML Schema the default for elementFormDefault and attributeFormDefault is "unqualified". That means that only the parent element has to use the prefix - child attributes and elements without a prefix are assumed to be part of the parent's namespace.


Once you require elementFormDefault and attributeFormDefault as "qualified" even the children have to use the namespace prefix.


By requiring all elements and attributes to be fully qualified, only elements and attributes in the default namespace may be without a namespace prefix inside a SOAP 1.1 message.
[ March 04, 2008: Message edited by: Peer Reynders ]
 
Divya Gehlot
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Peer,
Thanks for clearing my doubt.
It helped me alot in understanding the difference between qualified and unqualified attributes of namespaces.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic