W3C home > Mailing lists > Public > xml-uri@w3.org > May 2000

Re: Use cases

From: David Carlisle <davidc@nag.co.uk>
Date: Sun, 21 May 2000 00:17:24 +0100 (BST)
Message-Id: <200005202317.AAA18322@nag.co.uk>
To: timbl@w3.org
CC: xml-uri@w3.org

> I know you can construct this case - but is it likely to happen in practice?

Yes, it happens _every_ time you use a relative URI reference as a
namespace name. 

> No, I gave a long example of a virtual schema in a database which
> always moved wth the data. Please see
> http://lists.w3.org/Archives/Public/xml-uri/2000May/0281.html

I did see that and in that case the namespace only works as a substitute
for schemaLocation.  as you move the schema and data around obviously
for schema validation everything is fine, but you could have used
schemaLocation for  that. because you used the namespace, it means the
names of every element in the document also change as you move the
document which means that you can hardly use the document for anything
but schema validation: If you don't know the namespace you can't access
the elements with xpointer or xsl or any namespace aware tool.

> Unlikely - but someimes a good idea.  When a group decides to outlaw
> certain use of the technology, 

saying you should use schemaLocation= not xmlns= is not outlawing
technology

David

 
Received on Saturday, 20 May 2000 19:17:58 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:32:42 UTC