Uploaded image for project: 'Apache Any23 (Retired)'
  1. Apache Any23 (Retired)
  2. ANY23-167

Microdata itemscope properties incorrectly attached

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.3
    • microdata

    Description

      In some cases, Microdata properties inside an itemscope are attached to the parent object.
      For instance: http://ruben.verborgh.org/tmp/schemaorg-test.html
      http://any23.org/any23/?uri=http%3A%2F%2Fruben.verborgh.org%2Ftmp%2Fschemaorg-test.html

      Note how a separate Person entity is recognized,
      but property values themselves are attached to the BlogPosting entity instead of the Person entity.
      Also the properties familyName and givenName are incorrectly identified as
      http://schema.org/BlogPosting/familyName and http://schema.org/BlogPosting/givenName,
      while they should be http://schema.org/familyName and http://schema.org/givenName.

      The Structured Data Testing Tool shows the correct interpretation:
      http://www.google.com/webmasters/tools/richsnippets?q=http%3A%2F%2Fruben.verborgh.org%2Ftmp%2Fschemaorg-test.html

      Also note the wrong name "http:/schema.orgPerson" instead of "http:/schema.org/Person". This seems to happen because the quotes around the attribute are missing in the HTML source (I can file another issue for that if needed).

      Attachments

        Issue Links

          Activity

            People

              hansbrende Hans Brende
              rubenverborgh Ruben Verborgh
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: