RE: [ACTION-487][ISSUE-97][ISSUE--118] HTML5 Defaults

Hi Felix, all,

>> - I'm not sure for if we should specify those defaults for
>> Domain and Text Analysis
>
> I would specify no defaults here - in general we should only have defaults 
> if we are 100% sure about the purpose of the markup in HTML5.
> That would also resolve the concern you expressed below.

Works for me.


> I would also specify no defaults for Directionality,
> since this is in flux for HTML5 (like Ruby).

I'd be happy about that too.
It seems strange, but I suppose until HTML5 is still in flux for this it's ok.


> For preserve space we say in the ITS2 draft
> "The Preserve Space data category does not apply to HTML documents in HTML syntax."

Hmm. I know the main reason for this is because XML and HTML5 have different way of defining what is a whitespace (e.g. form-feed is a whitespace in HTML5 not in XML), and HTML5 has many way to set an element with whitespace properties (e.g. with CSS). But in practice a filter will very likely have to extract pre and textarea as if they had xml:space='preserve'. Moreover, once extracted the content is likely not in an HTML5 document anymore, but in another format, likely XML (e.g. XLIFF, TMX) where the specifics of HTML5 whitepace will go to the drain.

Since we have no expected standard behavior for Preserve Space in HTML5, I guess nothing prevent someone to make pre and textarea act like xml:space='preserve' is set.


> That raises some questions:
> - do the mappings
> http://www.w3.org/International/multilingualweb/lt/wiki/HTML5_Defaults
> only apply to HTML5 content in HTML5 syntax?
> - what do we say to people who want to apply the mappings for HTML4 / 3.2 / XHTML?

I would say we only have to address the XHTML serialization for of HTML5 (it's called XHTML5 I think)?
HTML before 5 are out of scope.


cheers,
-yves

Received on Monday, 15 April 2013 17:28:45 UTC