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.
Comment | File | Size | Author |
---|---|---|---|
#1 | 2462831-prevent-validator-warning-from-using-wrong-attribute-for-url.patch | 721 bytes | DrupalGideon |
|
Comments
Comment #1
DrupalGideonComment #2
Liam Morland