W3C home > Mailing lists > Public > public-gld-wg@w3.org > January 2013

Issues with ReSpec editor's drafts on Chrome, with fix

From: Richard Cyganiak <richard@cyganiak.de>
Date: Thu, 31 Jan 2013 20:08:23 +0000
Message-Id: <7C051164-661E-444A-8CFE-F39F117A314E@cyganiak.de>
To: public-gld-wg@w3.org
ACTION REQUIRED for all editors of documents that use ReSpec!

There is an issue with the way we used ReSpec in at least *some* of our Editor's Drafts, including the DCAT spec. When you access the drafts in Chrome, they show up as raw unstyled documents, without any of the ReSpec stuff applied. To fix this in the DCAT spec, I added a copy of the latest ReSpec to our Mercurial repository, and made the following changes in the HTML header (removed lines starting with "-", added lines starting with "+"):

  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <!--[if lt IE 9]>
  <script src="http://www.w3.org/2008/site/js/html5shiv.js"></script>
- <script type="text/javascript" src="http://dev.w3.org/2009/dap/ReSpec.js/js/respec.js" class="remove"></script>
+ <script type="text/javascript" src='../respec/respec3/builds/respec-w3c-common.js' class='remove'></script>
  <script type="text/javascript" src="respec-ref.js" class="remove"></script>
  <script type="text/javascript" src="../respec/gld-bib.js" class="remove"></script>
  <script type="text/javascript" src="respec-config.js" class="remove"></script>	
- <script type="text/javascript"  src="../respec/gld-config.js" class="remove"></script>

Editors of all documents that use ReSpec should make the same changes.

Received on Thursday, 31 January 2013 20:08:52 UTC

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