Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Whizlabs question

 
Steve Lock
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I bought the SCDJWS Whizlabs simulator and I would like to ask your opinion on the answer to the following question from its Interactive Quiz for the Section 1 objectives (XML Web Service standards):

Which of the following statements regarding XML namespaces is False?

A: They are declared with an xsd attribute
B: They can be declared on any element in XML document
C: They are a group of attribute names & element types
D: All the namespaces are declared within the root element

Clearly A is false because you have to use the xmlns attribute but is D really true? The simulator seems to think so.

Do they mean "DIRECTLY within the root element" or "in the root element or any of its child elements".

Apologies if this has been posted before.

Thanks and regards

Steve
 
Leo Blommers
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can declare namespaces with the xsd attribute targetNamespace and I think they really mean root element.

I would answer this question with D.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic