When using the validator at https://webmaster.yandex.com/microtest.xml to test, I get this error -

WARNING: the field http://schema.org/url contains an invalid type of data . Permitted types of data http://schema.org/URL

The reason is that in schemaorg_entity_view() the attributes is set to $attributes['resource'] when it's displaying the URL to the entity content in the hidden field and the 'resource' property does not show as an allowed property on http://schema.org/URL

Also, I'm wondering, is it not better practice to have the full url displayed here rather than just the path?

Patch coming up for both.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DrupalGideon’s picture

Liam Morland’s picture

Status: Active » Needs review