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

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 HTML5 parser, the content of "script" is not "seen"
as XML. The output then is

<html xmlns="">...
<script type="application/xml" id="its-standoff-1">
  &lt;its:locQualityIssues xml:id="lq1" xmlns:its=""&gt;
    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