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

ACTION-233: Update quality issue example to use the solution (XML in "script" tag) for standoff markup

From: Felix Sasaki <fsasaki@w3.org>
Date: Tue, 2 Oct 2012 10:16:27 +0200
Message-ID: <CAL58czq5Ze+JpR8-6JdZQf6tH9pS_bSUpczKsKCvXyiT1WdA8w@mail.gmail.com>
To: public-multilingualweb-lt@w3.org
Hi all,

I updated the qaissue example to use XML in the script element, see
the standoff metadata is now in a dedicated "script" element. See also

So this works, but I have a question to the implementors using HTML5 as an
input for processing outside the browser.
If you process
with the validator.nu HTML5 parser, the content of "script" is not "seen"
as XML. The output then is

<html xmlns="http://www.w3.org/1999/xhtml">...
<script type="application/xml" id="its-standoff-1">
  &lt;its:locQualityIssues xml:id="lq1" xmlns:its="
    locQualityIssueComment="'c'es' is unknown. Could be 'c'est'"
    locQualityIssueComment="Sentence without capitalization"

So if we would have an XML-based tool that wants to pick up the ITS
standoff information, it won't work.
Currently, Linguaserve is using this approach
to embed ITS rules into an HTML file. I had hoped that the "script" element
would have been an alternative - is it?
I'm sure this is not a difficult problem, but we probably need some
guidance for implementors who are not used to process HTML5.


Felix Sasaki
DFKI / W3C Fellow
Received on Tuesday, 2 October 2012 08:16:51 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:31:55 UTC