W3C home > Mailing lists > Public > public-multilingualweb-lt@w3.org > November 2012

Re: [ACTION-256]: Compile and circulate itsTool examples togehter with proposal text

From: Jirka Kosek <jirka@kosek.cz>
Date: Mon, 05 Nov 2012 16:59:30 +0100
Message-ID: <5097E262.40100@kosek.cz>
To: Dave Lewis <dave.lewis@cs.tcd.ie>
CC: Felix Sasaki <fsasaki@w3.org>, "public-multilingualweb-lt@w3.org" <public-multilingualweb-lt@w3.org>
On 2.11.2012 14:29, Dave Lewis wrote:

> For HTML this works when the tool info is external to the file. However,
> it doesn't work when the tool information is held with the file. Here we
> could use the XML in htm:script element solution that we use for mark-up
> in some of the data categories (e.g. Quality Issue). In this case we
> would need to specify in the spec the element type the IRI refers to.
> 
> So we would need the following wording:
> "Where the IRI in not used in a its:toolRefs attribute in an XML
> document or not for pointing to an external resource in a its-tool-refs
> attributed in a HTML document, then it MUST refer to a its:toolInfo
> element."

This is not technically possible. In HTML its:toolInfo inside <script>
element and is not exposed as a markup, it's just plain text inside
<script> which doesn't have ID and can't be directly addressed.

			Jirka

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------


Received on Monday, 5 November 2012 15:59:58 UTC

This archive was generated by hypermail 2.3.1 : Sunday, 9 June 2013 00:25:03 UTC