Re: Handling "translate" information in HTML 5

Hi Yves,

Yves Savourel さんは書きました:
> Hi Felix,
>
> Ian's proposal looks useful to me. However, I have one question:
>
> I've lost track of the "X/HTML-5/2" saga long ago and looking at the latest draft of HTML5, I'm still not sure I understand whether
> HTML5 is XML or not. If I got it correctly: The DOM5-HTML can be generated from two different syntaxes: HTML5 and XHTML5. And only
> XHTML5 can be processed by XML processors.
>
> If this is correct, I can understand how to use ITS with XHTML5, but how would you implement it with HTML5?
>   

You can't, since the DOM5-HTML does not support XPath. I think the usage 
scenario would be:

1) have your ITS external rules linked from a HTML5 or XHTML5 document
2) re-serialize your HTML5 document to XHTML
3) apply ITS to 2)

The benefit is of cause lower than having DOM5-HTML with XPath support 
or no need for two serializations, but I think we won't reach that. Esp. 
for the latter many people have tried. Still I think the standardized 
link to ITS rules would be of value.

Felix

> Cheers,
> -ys
>
>
>   
>> -----Original Message-----
>> From: public-i18n-its-ig-request@w3.org [mailto:public-i18n-its-ig-request@w3.org] On Behalf Of Felix
>> Sasaki
>> Sent: Tuesday, February 17, 2009 6:32 PM
>> To: public-i18n-its-ig@w3.org
>> Subject: Handling "translate" information in HTML 5
>>
>> Hello ITS IG,
>>
>> http://lists.w3.org/Archives/Public/public-html/2008Dec/0045.html
>>
>> contains a proposal about handling "translate" information in HTML 5. In
>> summary: not local ITS markup, but ITS rules files, e.g. for stating
>> that <code> is not translatable, and a mechanism for linking these to
>> HTML 5. What do all think of this? Coul we as the IG reply to this as
>> "we agree with the proposal"?
>>
>> Felix
>>
>>     
>
>
>
>   

Received on Thursday, 19 February 2009 01:18:59 UTC