This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 11732 - <div itemscope itemtype="http://data-vocabulary.org/Product"> <span itemprop="brand">»Ý¼Ò</span> <span itemprop="name">¾­µä Ô°ÒÕ¼ô</span> <img itemprop="image" src="anvil_executive.jpg" /> <span itemprop="description">»Ý¼Ò¾­µäÔ°ÒÕ¼ô ÓëÆäÆÕͨ
Summary: <div itemscope itemtype="http://data-vocabulary.org/Product"> <span itempro...
Status: RESOLVED INVALID
Alias: None
Product: HTML WG
Classification: Unclassified
Component: LC1 HTML Microdata (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-11 10:59 UTC by contributor
Modified: 2011-08-04 05:05 UTC (History)
4 users (show)

See Also:


Attachments

Description contributor 2011-01-11 10:59:17 UTC
Specification: http://dev.w3.org/html5/md/
Section: http://www.whatwg.org/specs/web-apps/current-work/complete.html#top

Comment:
<div itemscope itemtype="http://data-vocabulary.org/Product">
  <span itemprop="brand">»Ý¼Ò</span> <span itemprop="name">¾­µä
    Ô°ÒÕ¼ô</span>
  <img itemprop="image" src="anvil_executive.jpg" />

  <span itemprop="description">»Ý¼Ò¾­µäÔ°ÒÕ¼ô
    ÓëÆäÆÕͨ¿îÏà±È¸üΪ¼á¹ÌÄÍÓã¬
    ÊÇÄúÐÞÕûÍ¥Ô°µÄ×î¼ÑÑ¡Ôñ¡£
  </span>
  Àà±ð£º<span itemprop="category" content="Hardware > Tools >
shears">Ô°ÒÕ¼ô</span>
  ÉÌÆ·±àºÅ #£º<span itemprop="identifier" content="mpn:925872">
    925872</span>
  <span itemprop="review" itemscope
itemtype="http://data-vocabulary.org/Review-aggregate">
    <span itemprop="rating">4.4</span> ÐÇ£¨À´×Ô <span itemprop="count">89
      </span> ÌõÆÀÂÛ£©
  </span>

  <span itemprop="offerDetails" itemscope
itemtype="http://data-vocabulary.org/Offer">
    Õý³£¼Û¸ñ£º179.99 Ôª
    <meta itemprop="currency" content="RMB" />
    <span itemprop="price">119.99</span> Ôª
    £¨´ÙÏúÓÚ <time itemprop="priceValidUntil" datetime="2010-11-05">
      11 Ô 5 ÈÕ½áÊø!</time>£©
    ¹©»õÉÌ£º<span itemprop="seller">¾­µäÔ°ÒÕ</span>
    оɳ̶ȣº<span itemprop="condition" content="used">¶þÊÖ£¬
      9 ³ÉÐÂ</span>
    <span itemprop="availability" content="in_stock">ÓÐÏÖ»õ£¡Á¢¼´¶©¹º£¡</span>

  </span>
</div>


Posted from: 120.33.249.173
Comment 1 Philip Jägenstedt 2011-01-11 12:43:54 UTC
Markup is GBK-ish decoded as Latin-1-ish, originally some like:

<div itemscope itemtype="http://data-vocabulary.org/Product">
  <span itemprop="brand">&#24800;&#23478;</span> <span itemprop="name">&#38236;    &#22253;&#33402;&#21098;</span>
  <img itemprop="image" src="anvil_executive.jpg" />

  <span itemprop="description">&#24800;&#23478;&#38236;&#28243;&#32793;&#21344;    &#19982;&#20854;&#26222;&#36890;&#27454;&#30456;&#27604;&#26356;&#20026;&#22362;&#22266;&#32784;&#29992;,
    &#26159;&#24744;&#20462;&#25972;&#24237;&#22253;&#30340;&#26368;&#20339;&#36873;&#25321;&#12290;
  </span>
  &#31867;&#21035;:<span itemprop="category" content="Hardware > Tools >
shears">&#22253;&#33402;&#21098;</span>
  &#21830;&#21697;&#32534;&#21495; #:<span itemprop="identifier" content="mpn:925872">
    925872</span>
  <span itemprop="review" itemscope
itemtype="http://data-vocabulary.org/Review-aggregate">
    <span itemprop="rating">4.4</span> &#26143;(&#26469;&#33258; <span itemprop="count">89
      </span> &#26465;&#35780;&#35770;)
  </span>

  <span itemprop="offerDetails" itemscope
itemtype="http://data-vocabulary.org/Offer">
    &#27491;&#24120;&#20215;&#26684;:179.99 &#20803;
    <meta itemprop="currency" content="RMB" />
    <span itemprop="price">119.99</span> &#20803;
    (&#20419;&#38144;&#20110; <time itemprop="priceValidUntil" datetime="2010-11-05">
      11 &#26376; 5 &#26085;&#32467;&#26463;!</time>)
    &#20379;&#36135;&#21830;:<span itemprop="seller">&#38236;&#28243;&#32793;</span>
    &#26032;&#26087;&#31243;&#24230;:<span itemprop="condition" content="used">&#20108;&#25163;,
      9 &#25104;&#26032;</span>
    <span itemprop="availability" content="in_stock">&#26377;&#29616;&#36135;!&#31435;&#21363;&#35746;&#36141;!</span>

  </span>
</div>

(A listing for a second-hand pair of garden scissors for 119.99 RMB.)

Clearly someone has been confused between RDFa and Microdata, as content="" isn't used to set hidden metadata in Microdata, but is in RDFa. In this particular case, the metadata does need to be hidden, because e.g. condition: used shouldn't be exposed to the user, the localized string &#20108;&#25163; should.

Anyway, closing as invalid.
Comment 2 Philip Jägenstedt 2011-01-11 12:56:00 UTC
Oh my, the source of this is actually http://www.google.com/support/webmasters/bin/answer.py?hl=cn&answer=146750 , or http://www.google.com/support/webmasters/bin/answer.py?answer=146750 for the English version.

Looking at the bottom of that page, section "Non-visible text", it looks like Google is doing this deliberately. This part is especially amusing:

<time itemprop="priceValidUntil" content="2010-11-05">5 November 2010</time>

Will comment on the page that it's b0rked.
Comment 3 Philip Jägenstedt 2011-01-11 13:23:44 UTC
(In reply to comment #2)
> Will comment on the page that it's b0rked.

http://www.google.com/sidewiki/entry/philip.jagenstedt/id/fJs_CWCuHHLWa1MkT8EEIpkK3qQ

If the content="" markup works, then it looks like Google isn't actually following the spec when processing microdata, which isn't a big shock of course, given that the same thing happened with RDFa :)
Comment 4 Michael[tm] Smith 2011-08-04 05:05:20 UTC
mass-move component to LC1