W3C home > Mailing lists > Public > public-vocabs@w3.org > February 2013

Conflicting Markups

From: Giorgio Marrale <info@visualsense.nl>
Date: Thu, 14 Feb 2013 12:07:57 +0100
To: public-vocabs@w3.org
Message-Id: <EAE818B4-17CD-4084-9388-22D202C616E7@visualsense.nl>
I am implementing Schema.org markups into my site, and get errors when adding multiple schemas with overlapping areas.

In the following example I get the following errors:

Page contains property "breadcrumb" which is not part of the schema. (Review)
Page contains property "reviewrating" which is not part of the schema. (WPSideBar)

So if I am right, the property does not get inheritted from the 'Review' parent?

<html>
	<head>
		<title>Title</title>
	</head>
	<body itemscope itemtype="http://schema.org/WebPage">
		<div itemscope itemtype="http://schema.org/Review">
			<ul>
				<li>
					<a itemprop="breadcrumb" href="/" title="Home">Home</a>
				</li>
				<li>
					<a href="/page" title="Page">Page</a>
				</li>
				<li>Sub Page</li>
			</ul>
			<div>
				<img src="/" itemprop="image" /> 
				<h1 itemprop="itemReviewed">Title</h1>
				<p itemprop="reviewBody">Text text text...</p>
			</div>
			<div itemscope itemtype="http://schema.org/WPSideBar">
				<div itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating">
					<meta itemprop="worstRating" content="1">
					<meta itemprop="bestRating" content="10">
					First rate: Players Rating (9/10)
					Second rate: Editors Rating (<span itemprop="ratingValue">9</span>/10)
				</div>
			</div>
		</div>
	</body>
</html>

I have a test file running on the following URL: http://www.visualsense.nl/schema-test.html
The actual page that I like to implement this is: http://www.maxpokerbonus.co.uk/online-poker-rooms/bet365-poker/ (Currently without errors, because I removed the markups)

Adding the 'WebPage' markup to the <ul> tag but it prevents me from marking up other webpage properties.
Removing the 'WPSideBar' property works, but I really would like to make use of these.

I can't remove the 'reviewRating property from the sidebar, it's one element of multiple in the sidebar that makes up the review.

Any ideas how to solve this matter?

Thank you,

Giorgio Marrale
Received on Thursday, 14 February 2013 12:46:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 14 February 2013 12:46:42 GMT