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

Re: namespace prefixes within attribute values

  • From: David Carlisle <davidc@n...>
  • To: xml-dev@X...
  • Date: Fri, 10 Mar 2000 11:24:28 GMT

kind of document values

Eve Maler wrote

  I can see using QNames attribute values when you're manipulating element
  types and attribute names, as is done in XML Schema and XSLT.  However,
  in XLink, QNames are used -- in the true Namespaces specification sense
  -- for values that have nothing to do with element types and attribute
  names.

The same is true of xslt. QNames are used as the names of most constructs
(variables, modes, etc) not just elements and attributes.

  A lot of people are hoping that one day they'll be able to point to some 
  kind of document (compound or not...whatever) that will serve as the 
  definitive source for information about a namespace.

I think it's probably safer keeping namespaces just to serve for
distinguishing things that would otherwise have the same name
(such as p in html and p in something else) and to look to
schema for information about things (although not about what constitutes
the set of names in a namespace).

  I want to define the name "popupFor10Seconds" in my namespace definition 
  document, have I now precluded the possibility of having a 
  <popupFor10Seconds>? an <x myco:popupFor10Seconds="..." />?

well if there were to be a `namespace definition syntax' (which I think
would be a bad idea) then it would already have to cope with elements
and attributes having the same name, so it could presumably have to
cope with arbitrary datatypes: xlink names, xslt variables, xslt modes, 
xslt template names, etc. All these things may have the same name in the
same namespace.

David

***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************

  • Follow-Ups:
    • W3C Rant
      • From: "Matthew Gertner" <matthew@p...>

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.