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

RE: Default Namespaces - why don't they apply to attributes?

  • From: Jonathan Borden <jborden@m...>
  • To: xml-dev@l..., Ronald Bourret <rpbourret@h...>
  • Date: Sat, 22 Jul 2000 11:14:51 -0400

sumbit url
Ronald Bourret wrote:
>
> While I see your point, I disagree both with your last sentence and that
> this is an adequate counter-example. The question here is not about
> "membership" in a namespace, but whether RDF can find the semantics for a
> given attribute. To find the semantics for a given attribute, it must
> uniquely identify that attribute. It does this with the following simple
> algorithm -- note that namespace "membership" never comes into play.
>
> 1) Does the attribute have a prefix?
>
> 2a) Yes. Get the semantics from the schema identified by the URL
> associated
> with the prefix.
>
> 2b) No. Get the semantics from the schema identified by the URL
> associated
> with the prefix of the attribute's element.
>
 I don't understand the distinction you are making: a node having a
namespace vs. being a member of a namespace. To me a node *has* a name, and
*belongs* in a namespace, otherwise why use the term *namespace* where
*name* is perfectly sufficient? I sumbit that having a namespace/prefix and
being a member of a namespace define identical behavior.

 You have defined an algorithm which has the effect of associating an
attribute namespace with the enclosing element namespace. This is fine, yet
what specification is directing me to use this algorithm? An application
which defines behavior(node) based upon namespaceURI(node) would not be
using your algorithm. Are you implying that this is wrong?

 The existence of such an application is the counter example to your
argument. We never argeed that you could rewrite the application :-)

Jonathan Borden
http://www.openhealth.org


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.