|
Subject:
|
Please answer
|
|
Posted By:
|
canasdaq
|
Post Date:
|
4/18/2006 5:35:27 PM
|
I was taking a test and came across this question. Can anyone please answer my question?
If NO explicit XML namespace is listed, what default namespace is used by a Web Service? Choice 1 http://xmlns.com/ Choice 2 http://microsoft.com/ Choice 3 http://tempuri.org/ Choice 4 The receiving URL namespace Choice 5 The calling URL namespace
I just want to know the correct answer. Thanks
|
|
Reply By:
|
mhkay
|
Reply Date:
|
4/18/2006 6:29:50 PM
|
If no namespace is listed *where*? Need to establish the context.
In XML, if no default namespace is declared, the answer is "none of the above" - elements are in no namespace.
These tests, incidentally, are often of very poor quality. They are often produced by people with no understanding of the subject matter who scan textbooks looking for facts and turning them mechanically into multiple-choice questions, with no understanding of the context in which the information is applicable.
Michael Kay http://www.saxonica.com/ Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference
|
|
Reply By:
|
rodmcleay
|
Reply Date:
|
4/18/2006 8:46:21 PM
|
Maybe its just a Visual Studio thing, but I thought Tempuri was used as default????
====================================== They say, best men are molded out of faults, And, for the most, become much more the better For being a little bad. ======================================
|
|
Reply By:
|
canasdaq
|
Reply Date:
|
4/19/2006 9:04:22 AM
|
I was writing an asp.net test. This question was exactly the same in that. I was not sure what the answer was wanted to know what it would be from experts.
|