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

2012/10/8 Jirka Kosek <jirka@kosek.cz>

> On 8.10.2012 19:35, Yves Savourel wrote:
>
> > I'm looking at how this new encapsulation of the stand-off localization
> quality issues (or how global rules in Pedro's case) could be used within
> <script> and I have the following two notes to start:
> >
> > -- a) script type:
> >
> > We need a way to specify the content of the script is ITS. I don't think
> it's reasonable to expect ITS processors to just try any script content.
> >
> > It seems the type attribute must be a valid MIME type. Maybe this is the
> occasion to use the ITS MIME type we've defined long ago?
> > Actually I can't recall exactly what its status is, but if it's not
> accepted yet we should push it forward. See
> http://lists.w3.org/Archives/Public/public-i18n-its-ig/2011Dec/0000.htmlfor the latest news about it.
>
> Yep, using MIME is the right approach.
>
> > -- b) src
> >
> > The content of the script can be in an external file. I assume we should
> not use this for ITS content. Is that right?
>
> +1
>
> Also we should discourage users from using markup in <script>. It should
> be only the last resort when external rules can't be used and HTML
> serialization must be used.
>


So should also this example
http://www.w3.org/International/multilingualweb/lt/drafts/its20/its20.html#EX-locQualityIssue-html5-local-2
be reverted to

<html>

 <head>

  <title>Test</title>

  <script type="text/javascript" src="qaissues.js"><script>

  <style type="text/css">.qaissue { background-color: yellow; } </style>

 </head>

 <body onload="addqaissueattrs()">

  <p>

   <span its-loc-quality-issues-ref="#lq1">c'es</span> le contenu</p>

  <span its-loc-quality-issues="its-loc-quality-issues" id="lq1">

   <span

     its-loc-quality-issue="its-loc-quality-issue"

     its-loc-quality-issue-type="typographical"

     its-loc-quality-issue-coment="Sentence without capitalization"

     its-loc-quality-issue-severity="30"><span>

   <span

     its-loc-quality-issue="its-loc-quality-issue"

     its-loc-quality-issue-type="misspelling"

     its-loc-quality-issue-coment="'c'es' is unknown. Could be 'c'est'"

     its-loc-quality-issue-severity="50"><span>

  </span>

 </body>

</html>

No opinion on that, just asking.

Felix



>                                 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
> ------------------------------------------------------------------
>
>


-- 
Felix Sasaki
DFKI / W3C Fellow

Received on Monday, 8 October 2012 18:31:55 UTC