Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XML
|
XML General XML discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XML section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 18th, 2006, 05:35 PM
Authorized User
 
Join Date: Mar 2006
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default Please answer

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
 
Old April 18th, 2006, 06:29 PM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

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
 
Old April 18th, 2006, 08:46 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 596
Thanks: 1
Thanked 3 Times in 3 Posts
Default

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.
======================================
 
Old April 19th, 2006, 09:04 AM
Authorized User
 
Join Date: Mar 2006
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Try this, answer me surendran PHP How-To 1 November 14th, 2006 07:09 AM
i want answer titto_oo7 C# 7 February 9th, 2006 03:59 PM
answer IvAnR C++ Programming 1 July 22nd, 2005 08:01 AM
About the answer!!! soso ASP.NET 1.0 and 1.1 Basics 0 July 9th, 2003 11:05 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.