<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>14518</bug_id>
          
          <creation_ts>2011-10-20 08:54:54 +0000</creation_ts>
          <short_desc>Microdata: Can &quot;the same vocabulary&quot; span multiple domains?</short_desc>
          <delta_ts>2012-07-18 18:48:33 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#items</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>philipj</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>58520</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-10-20 08:54:54 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/microdata.html
Multipage: http://www.whatwg.org/C#items
Complete: http://www.whatwg.org/c#items

Comment:
Microdata: Can &quot;the same vocabulary&quot; span multiple domains?

Posted from: 83.218.67.122 by philipj@opera.com
User agent: Opera/9.80 (X11; Linux x86_64; U; Edition Next; en) Presto/2.9.220 Version/12.00</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58521</commentid>
    <comment_count>1</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2011-10-20 08:58:49 +0000</bug_when>
    <thetext>As of http://html5.org/r/6668 itemtype can take multiple types as long as they &quot;use the same vocabulary&quot;.

For validation purposes, is it possible for a vocabulary to span multiple domains, or could this always be flagged as invalid without vocabulary knowledge:

&lt;x itemscope itemtype=&quot;http://n.whatwg.org/work http://schema.org/CreativeWork&quot;&gt;

?

(Yes, ideally the validator should have knowledge about these two vocabularies to provide much better validation, but then assume that two unknown itemtypes are used.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58522</commentid>
    <comment_count>2</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2011-10-20 09:01:05 +0000</bug_when>
    <thetext>Given that itemtype is an opaque string it would seem odd to treat it as a URL and apply validity constraints, but it would also seem odd for a validator to warn about what is most likely a violation of the &quot;same vocabulary&quot; constraint.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58523</commentid>
    <comment_count>3</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2011-10-20 09:02:04 +0000</bug_when>
    <thetext>&gt; warn about

typo: not be able to warn about</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58557</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-10-20 20:08:16 +0000</bug_when>
    <thetext>It wasn&apos;t my intent to have any limitation here. Is there any text that suggests that there is one?

I&apos;d rather not encourage it (e.g. via an example), because it&apos;s rarely going to be correct.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58627</commentid>
    <comment_count>5</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2011-10-21 07:44:52 +0000</bug_when>
    <thetext>No, there&apos;s no text suggesting anything, &quot;same vocabulary&quot; isn&apos;t defined at all. It would be nice if this question were answered in some fashion:

Should a validator complain about &lt;x itemscope itemtype=&quot;http://example.com/unknown/type http://another.example.com/unknown/type&quot;&gt;?

A note that sameness is defined by the vocabularies themselves and more importantly that it cannot be determined by deconstructing the (opaque) item type would suffice.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58862</commentid>
    <comment_count>6</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-10-25 04:57:11 +0000</bug_when>
    <thetext>A validator should complain for:

   itemtype=&quot;http://example.com/unknown/type&quot;

...in the same way that an XML vocabulary conformance checker would complain for an application/xml file that contains an unknown namespace.

That is, it should say &quot;I&apos;m sorry, I don&apos;t know how to validate this as I do not know that vocabulary&quot;.

Given that, the question asked in comment 5 is moot.


But I can certainly add a note saying that what a &quot;vocabulary&quot; is is defined by the document that defines a vocabulary, and thus that whether two types use the same vocabulary is defined by that vocabulary&apos;s spec, if it&apos;s not obvious. (It seems kind of obvious to me.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58902</commentid>
    <comment_count>7</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2011-10-25 09:02:13 +0000</bug_when>
    <thetext>No, that would be a bit circular. The spec does say that itemtype is an opaque string, so the conclusion should be clear. Given the rather small number of people implementing validators, perhaps deriving all possible conclusions is a bit excessive. I&apos;ll be happy with WONTFIX.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59152</commentid>
    <comment_count>8</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-10-28 20:08:32 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: no spec change
Rationale:

Ok. Please don&apos;t hesitate to reopen it if you can think of a way to make this clearer that isn&apos;t tautological and doesn&apos;t seem to encourage the practice.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>