RE: automatic namespaces use case

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 UTC