W3C home > Mailing lists > Public > public-xmlhypermedia@w3.org > August 2012

RE: automatic namespaces use case

From: Rushforth, Peter <Peter.Rushforth@NRCan-RNCan.gc.ca>
Date: Thu, 2 Aug 2012 10:30:34 +0000
To: "liam@w3.org" <liam@w3.org>
CC: "public-xmlhypermedia@w3.org" <public-xmlhypermedia@w3.org>
Message-ID: <1CD55F04538DEA4F85F3ADF7745464AF1AE2D148@S-BSC-MBX4.nrn.nrcan.gc.ca>
Hi Liam,

Actually, if you did this:

<foo rel="ns" href="http://example.com/mynsresource" type="application/namespaces+xml">
  <bar/>
</foo>

and the /mynsresource was like this:

<ns>
  <attribute>
    <name>href</name>
    <uri>http://www.w3.org/XML/1998/namespace</uri>
  </attribute>
  <attribute>
    <name>src</name>
    <uri>http://www.w3.org/XML/1998/namespace</uri>
  </attribute>
</ns>

etc

then you would never have to use the prefixed form in the instance document, maybe, because you'd
recursively mapped the prefixed form to the  unprefixed form, although you could still use them if you really wanted because it is defined by fiat in the xml spec.

What do you think?

Peter

________________________________________
From: Rushforth, Peter [Peter.Rushforth@NRCan-RNCan.gc.ca]
Sent: August 1, 2012 6:10 PM
To: public-xmlhypermedia@w3.org; liam@w3.org
Subject: automatic namespaces use case

Hi,

I've updated the wiki with a use case for automatic namespaces.

Please have a look and respond to this thread.  I'll updated it as required.

http://www.w3.org/community/xmlhypermedia/wiki/Distributed_extensibility_/_automatic_namespaces

Thanks,
Peter

Received on Thursday, 2 August 2012 10:31:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 2 August 2012 10:31:09 GMT