OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: namespace prefixes within attribute values

[ Lists Home | Date Index | Thread Index ]
  • From: David Carlisle <davidc@nag.co.uk>
  • To: xml-dev@XML.ORG
  • Date: Fri, 10 Mar 2000 11:24:28 GMT


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@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************

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



 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS