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: ht@cogsci.ed.ac.uk (Henry S. Thompson)
  • To: David Megginson <david@megginson.com>
  • Date: 10 Mar 2000 09:55:12 +0000

David Megginson <david@megginson.com> writes:

> While it's annoying for typists, it's
> generally a lot more robust to have
> 
>   <doc:doc xmlns:doc="http://www.acme.com/doc/">
>    <doc:thing1 foo="http://www.acme.com/doc/x" bar="doc:y"/>
>   </doc:doc>
> 
> At least now I can tell what's meant without a schema.

Although note the same problem resurfaces with relative URIs and XBase 
-- without a declaration (e.g. in a schema) you don't know which
attribute values _are_ relative URIs and which just happen to look
like them.

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2001, part-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/

***************************************************************************
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/
***************************************************************************




 

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

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