This page shows the output from Google's Rich Snippets testing tool, as of 2009-09-12, for a variety of inputs, compared to pyRdfa 2.3.5.

Test case Google Rich Snippets pyRdfa
Example from documentation
<div xmlns:v="http://rdf.data-vocabulary.org/#" typeof="v:Person">
  <span property="v:name">John Smith</span>
  <span property="v:nickname">Smithy</span>
  <span property="v:url">http://www.example.com</span>
  <span property="v:affiliation">ACME</span>
  <span rel="v:address">
    <span property="v:locality">Albuquerque</span>
  </span>
  <span property="v:title">Engineer</span>
  <a href="http://darryl-blog.example.com/" rel="v:friend">Darryl</a>
</div>
Person
address
locality = Albuquerque
friend = Darryl
name = John Smith
nickname = Smithy
url = http://www.example.com
affiliation = ACME
title = Engineer
_:BxbLlYHp4 <http://rdf.data-vocabulary.org/#locality> "Albuquerque".
_:BxbLlYHp3 <http://rdf.data-vocabulary.org/#url> "http://www.example.com".
_:BxbLlYHp3 <http://rdf.data-vocabulary.org/#name> "John Smith".
_:BxbLlYHp3 <http://rdf.data-vocabulary.org/#affiliation> "ACME".
_:BxbLlYHp3 <http://rdf.data-vocabulary.org/#friend> <http://darryl-blog.example.com/>.
_:BxbLlYHp3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://rdf.data-vocabulary.org/#Person>.
_:BxbLlYHp3 <http://rdf.data-vocabulary.org/#title> "Engineer".
_:BxbLlYHp3 <http://rdf.data-vocabulary.org/#address> _:BxbLlYHp4.
_:BxbLlYHp3 <http://rdf.data-vocabulary.org/#nickname> "Smithy".
Tiny example
<div xmlns:v="http://rdf.data-vocabulary.org/#" typeof="v:Person">
  <span property="v:name">John Smith</span>
  <span property="v:url">http://www.example.com</span>
</div>
Person
name = John Smith
url = http://www.example.com
_:BxbLlYHp7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://rdf.data-vocabulary.org/#Person>.
_:BxbLlYHp7 <http://rdf.data-vocabulary.org/#url> "http://www.example.com".
_:BxbLlYHp7 <http://rdf.data-vocabulary.org/#name> "John Smith".
Incorrect namespace
<div xmlns:v="http://arbitrary.example.org/#" typeof="v:Person">
  <span property="v:name">John Smith</span>
  <span property="v:url">http://www.example.com</span>
</div>
Person
name = John Smith
url = http://www.example.com
_:BxbLlYHp10 <http://arbitrary.example.org/#name> "John Smith".
_:BxbLlYHp10 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://arbitrary.example.org/#Person>.
_:BxbLlYHp10 <http://arbitrary.example.org/#url> "http://www.example.com".
Incorrect case
<div xmlns:v="http://rdf.data-vocabulary.org/#" typeof="v:PeRsON">
  <span property="V:name">John Smith</span>
  <span property="v:URL">http://www.example.com</span>
</div>
PeRsON
name = John Smith
Warnings : property 'name' has unknown namespace 'V'.
URL = http://www.example.com
_:BxbLlYHp13 <http://rdf.data-vocabulary.org/#URL> "http://www.example.com".
_:BxbLlYHp13 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://rdf.data-vocabulary.org/#PeRsON>.
Correct namespace but unusual xmlns
<div xmlns:v="http://rdf.data-vocabulary.or" typeof="v:g/#Person">
  <span property="v:g/#name">John Smith</span>
  <span property="v:g/#url">http://www.example.com</span>
</div>
g/#Person
Warnings : RDFa tree has unknown type 'g/#Person'.
g/#name = John Smith
g/#url = http://www.example.com
_:BxbLlYHp16 <http://rdf.data-vocabulary.org/#url> "http://www.example.com".
_:BxbLlYHp16 <http://rdf.data-vocabulary.org/#name> "John Smith".
_:BxbLlYHp16 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://rdf.data-vocabulary.org/#Person>.
Undeclared namespace
<div typeof="v:Person">
  <span property="v:name">John Smith</span>
  <span property="v:url">http://www.example.com</span>
</div>
Person
Warnings : RDFa tree 'Person' has unknown namespace 'v'.
name = John Smith
Warnings : property 'name' has unknown namespace 'v'.
url = http://www.example.com
Warnings : property 'url' has unknown namespace 'v'.

Bogus namespace prefixes
<div typeof="zzz:Person">
  <span property="#:name">John Smith</span>
  <span property=":url">http://www.example.com</span>
</div>
Person
Warnings : RDFa tree 'Person' has unknown namespace 'zzz'.
name = John Smith
Warnings : property 'name' has unknown namespace '#'.
_:BxbLlYHp22 <http://www.w3.org/1999/xhtml/vocab#url> "http://www.example.com".
Literal types
<div xmlns:v="http://rdf.data-vocabulary.org/#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" typeof="v:Person">
  <span property="v:name">John <strong>Smith</strong></span>
  <span property="v:url" datatype="rdf:XMLLiteral">http://www.example.com</span>
</div>
Person
name = John Smith
url = http://www.example.com
_:BxbLlYHp25 <http://rdf.data-vocabulary.org/#name> "John <strong>Smith</strong>"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral>.
_:BxbLlYHp25 <http://rdf.data-vocabulary.org/#url> "http://www.example.com"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral>.
_:BxbLlYHp25 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://rdf.data-vocabulary.org/#Person>.
content, rel+href properties
<div xmlns:v="http://rdf.data-vocabulary.org/#" typeof="v:Person">
  <span property="v:name" content="John Smith">error</span>
  <a rel="v:url" href="http://www.example.com">error</a>
</div>
Person
url = error
name = error
_:BxbLlYHp28 <http://rdf.data-vocabulary.org/#name> "John Smith".
_:BxbLlYHp28 <http://rdf.data-vocabulary.org/#url> <http://www.example.com>.
_:BxbLlYHp28 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://rdf.data-vocabulary.org/#Person>.
Nested properties
<div xmlns:v="http://rdf.data-vocabulary.org/#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" typeof="v:Person">
  <span property="v:name" datatype="">John <span property="v:nickname">Smith</span></span>
  <span property="v:url" datatype="rdf:XMLLiteral">http://www.<span property="v:affiliation">example.com</span></span>
</div>
Person
name = John Smith
url = http://www.example.com
_:BxbLlYHp31 <http://rdf.data-vocabulary.org/#name> "John Smith".
_:BxbLlYHp31 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://rdf.data-vocabulary.org/#Person>.
_:BxbLlYHp31 <http://rdf.data-vocabulary.org/#nickname> "Smith".
_:BxbLlYHp31 <http://rdf.data-vocabulary.org/#url> "http://www.<span property=\"v:affiliation\">example.com</span>"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral>.