[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: The purpose of a namespace URI is ...

  • From: "Costello, Roger L." <costello@mitre.org>
  • To: "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
  • Date: Fri, 30 Nov 2012 15:06:57 +0000

RE:  The purpose of a namespace URI is ...
Hello Ken,

At 2012-11-30 12:35 +0000, Costello, Roger L. wrote:
>>     A namespace URI conventionally identifies
>>     the component, subsystem, or authority
>>     responsible for defining the meaning of
>>     an XML vocabulary.
>>
>>Do you agree?

Ken responded:
>A namespace URI only distinguishes one XML vocabulary 
> from another in  a single XML document.
> ... snip ...

 In the XPath and XQuery Functions and Operators document [1] it defines the error() function: the first argument is "code" which is an xs:QName value. An xs:QName, of course has two parts: a namespace part and a local part. The document says that the purpose of the namespace part is to indicate who -- a component, a subsystem, or an authority -- is responsible for the meaning of the local part (the "local part" is, of course, the markup -- the XML vocabulary):

    The $code is an error code that distinguishes this 
    error from others. It is an xs:QName; the namespace 
    URI conventionally identifies the component, subsystem, 
    or authority responsible for defining the meaning of the 
    error code, while the local part identifies the specific 
    error condition. 

This suggests to me that the W3C (or at least the XPath and XQuery portion of the W3C) does not see namespaces as "only distinguishes one XML vocabulary from another." Indeed not. It suggests to me that they regard a namespace as identifying an entity that is responsible for providing the meaning of the XML vocabulary.

Has the XPath and XQuery working group assigned to "namespaces" a radical and incorrect purpose?

/Roger

[1] http://www.w3.org/TR/xpath-functions-30/#func-error


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.