xml:rel, xml:href, xml:type

Hi,

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
http://www.ietf.org/rfc/rfc2046.txt?number=2046


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?


Cheers,
Peter Rushforth

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