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

RE: action-226 domain in HTML5

From: Yves Savourel <ysavourel@enlaso.com>
Date: Thu, 4 Oct 2012 14:59:43 -0600
To: <public-multilingualweb-lt@w3.org>
Message-ID: <assp.062452b468.assp.0624613adf.00be01cda273$2e7c9df0$8b75d9d0$@com>
> ...We probably could resolve the issue by adding 
> your text to the spec and mention the single quoting?

Actually we probably do not need to single quote values with spaces in the result because we don't have pairs there, so spaces are not separators.

Just to be sure we are talking about the same output, here are a few examples:

a) --- The rule:

<its:domainRule selector="/db:article/db:para"
 domainPointer="/db:article/db:info//db:subjectterm"/>

with:

<subjectset scheme="libraryofcongress">
 <subject>
  <subjectterm>Electronic Publishing</subjectterm>
 </subject>
 <subject>
  <subjectterm>SGML (Computer program language)</subjectterm>
 </subject>
</subjectset>

Would give:

"Electronic Publishing, SGML (Computer program language)"


b) --- The rule:

<its:domainRule selector="/db:article/db:para"
 domainPointer="/db:article/db:info//db:subjectterm"
 domainMapping="'Electronic Publishing' pub"/>

with:

<subjectset scheme="libraryofcongress">
 <subject>
  <subjectterm>Electronic Publishing</subjectterm>
 </subject>
 <subject>
  <subjectterm>SGML (Computer program language)</subjectterm>
 </subject>
</subjectset>

Would give:

"pub, SGML (Computer program language)"


c) --- the rule:

<its:domainRule selector="/h:html/h:body"
 domainPointer="//h:meta[@name='keywords']/@content"
 domainMapping="politics 'boring stuff'"/>
 
with:

<meta name="keywords" content="news, sports, politics, nature and weather">

Would give:

"news, sports, boring stuff, nature and weather"


Looking at the tests commitment document -- (that Dom made available here: https://docs.google.com/spreadsheet/ccc?key=0AgIk0-aoSKOadG5HQmJDT2EybWVvVC1VbnF5alN2S3c#gid=0) -- it looks like Domain is the data category that has the most implementers. It would be good to get those implementers feedback on this.

Cheers,
-yves
Received on Thursday, 4 October 2012 21:22:56 UTC

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