W3C home > Mailing lists > Public > public-schemaorg@w3.org > May 2015

Itemref on parent entities within the same scope should not inherit itemprop value of the target

From: Alexandros Zepidis <alexandros@modelisto.com>
Date: Thu, 28 May 2015 02:27:40 +0300
Message-ID: <CAG65xSHW0h2nZw1SWxh3w0BOw585XcKXa5=5PWsqnKrt+q7e2Q@mail.gmail.com>
To: public-schemaorg@w3.org
Hello fellow professionals,


I’d like to present something sort of a problem and a possible suggestion
concerning the usage of itemref.



It seems as itemref is intended to be used primarily for referencing
entities that are not descendants of the parent scope. There is also the
common case where a property is needed to reference an entity higher in
it’s own dom hierarchy but still be inside the same parent item scope.


When doing so, the property using itemref will use the target entity but is
restricted to use any itemprop that was designated on its itemscope level
as well - which would not always be right for its case.


I believe that the property (itemref caller) should be able to call just
the itemref target without inheriting the itemprops designated on that
itemscope.


Yours,



Alexandros Zepidis

http://modelisto.com
Received on Thursday, 28 May 2015 20:49:53 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 28 May 2015 20:49:54 UTC