W3C home > Mailing lists > Public > xml-editor@w3.org > April to June 2012

xml:rel, xml:href, xml:type

From: Rushforth, Peter <Peter.Rushforth@NRCan-RNCan.gc.ca>
Date: Sat, 7 Apr 2012 00:48:47 +0000
To: "xml-editor@w3.org" <xml-editor@w3.org>
Message-ID: <1CD55F04538DEA4F85F3ADF7745464AF035830@S-BSC-MBX4.nrn.nrcan.gc.ca>

I think I previously posted this to the wrong list - apologies.

Has it ever been considered to include standardized "typed links" into the core xml specification, in a manner that is similar to xml:base and xml:lang? (ie. via the xml: namespace).

If these attributes were available to xml authors, xml could be a hypertext language without schema designers having to reinvent the markup for this concept; such re-invention  hinders interoperability.

I propose the associated attributes below in the xml namespace

xml:href - a single URI value

xml:rel - one or more space-separated tokens or URIs, which identify the relationships the targeted resource has to the current context.  The value of this element could be defined to be compatible with http linking http://tools.ietf.org/html/rfc5988

xml:type - a single MIME media type, with a value compatible with

This would allow XML representations the ability to contain "typed links", which is important for RESTful applications.

If this idea is not stupid, how to go about proposing formally?

Peter Rushforth
Received on Saturday, 7 April 2012 00:49:21 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:37:47 UTC