W3C home > Mailing lists > Public > spec-prod@w3.org > July to September 2012

RE: Is there a way in respec to hyperlink to external refs?

From: Travis Leithead <travis.leithead@microsoft.com>
Date: Wed, 29 Aug 2012 18:09:27 +0000
To: Shane McCarron <shane@aptest.com>, "spec-prod@w3.org" <spec-prod@w3.org>
Message-ID: <9768D477C67135458BF978A45BCF9B3838436E8A@TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com>
In the meantime, I'm going to keep the data-spec="XXX" attributes in my source for when something like this comes on-line (or I write the patch for respec). I'm keeping the XXX syntax the same as [[XXX]] syntax, so that I know what spec it could eventually link to.

Thanks for the discussion.

-----Original Message-----
From: Shane McCarron [mailto:shane@aptest.com] 
Sent: Wednesday, August 29, 2012 6:57 AM
To: spec-prod@w3.org
Subject: Re: Is there a way in respec to hyperlink to external refs?

Your "scheme" approach is very much like a CURIE - and I like that. I bet we could even do it in a way that was CURIE conforming... declare it as a 'prefix' and it would be dereferenced in the follow-your-nose manner that you would expect from RDF

@prefix="spec: http://www.w3.org/URI_to_respec_bib/" somewhere in early in the spec, then transform the  references.

On 8/29/2012 5:20 AM, Marcos Caceres wrote:
> On Wednesday, 29 August 2012 at 10:38, Robin Berjon wrote:
>> 2) Scheme-based
>> Just extend the current way of referring to definitions — which is simply <a>dfn-name</a> — with a magical scheme. So referring to a definition in another spec would just be <a href='spec:dom4'>Node</a> or <a href='spec:dom4#node'>the Node interface</a>. Yes, it violates WebArch. It's a source format, though, so I don't think that matters (send the Architecture Police!).
> I like this one. Feels more natural than the other ones - and violating WebArch makes you feel like a standards-badass, which is a bonus!
> --
> Marcos Caceres
> http://datadriven.com.au


Shane McCarron
Managing Director, Applied Testing and Technology, Inc.
+1 763 786 8160 x120

Received on Wednesday, 29 August 2012 18:10:15 UTC

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