Person RDFa example on website email issue unspeficied type?

Open
#3,260 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
html
Domain
documentation

Research direction

Start with the Person RDFa example on the schema.org website and reproduce it in the validator, focusing on the email property and its displayed “Unspecified Type” value. Compare the example output with the validator result; done when the responsible source of the discrepancy is identified and the example or validator behavior is corrected.

Written by the indexing model from the issue text.

Description

no-issue-activity Validator

Apologies if this is not the right place for this.

Trying to add some RDFa to a page of mine and testing on the validator.
I've run into the problem of having an "unspecified type" for an email - specifically using the example code from the Person page.

Basically, copying the example for a person on that page using RDFa:

    <div vocab="https://schema.org/" typeof="Person">
      <span property="name">Jane Doe</span>
      <img src="janedoe.jpg" property="image" alt="Photo of Jane Doe"/>

      <span property="jobTitle">Professor</span>
      <div property="address" typeof="PostalAddress">
        <span property="streetAddress">
          20341 Whitworth Institute
          405 N. Whitworth
        </span>
        <span property="addressLocality">Seattle</span>,
        <span property="addressRegion">WA</span>
        <span property="postalCode">98052</span>
      </div>
      <span property="telephone">(425) 123-4567</span>
      <a href="mailto:jane-doe@xyz.edu" property="email">
        jane-doe@xyz.edu</a>

      Jane's home page:
      <a href="http://www.janedoe.com" property="url">janedoe.com</a>

      Graduate students:
      <a href="http://www.xyz.edu/students/alicejones.html" property="colleague">
        Alice Jones</a>
      <a href="http://www.xyz.edu/students/bobsmith.html" property="colleague">
        Bob Smith</a>
    </div>

Into the Validator doesn't show any errors, but it also doesn't show any value for the email (just Unspecified Type):
image

Is this a problem with the example code or the validator?

Dominant language
HTML
Stars
6.3k
Forks
962
Avg merge
18h 7m
Merged PRs (30d)
9

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from schemaorg/schemaorg

All issues in schemaorg/schemaorg

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.