/rdf:Description
The '1920' and gdate are lost lost.
Interestingly, parsing of "rdf:parseType" is case sensitive and the parsers drops information unless 'parsetype' is in lower case:
20120215/documents:date_retrieved
/documents:Image
get munged to
/rdf:Description
but
20120215/documents:date_retrieved
/documents:Image
gives
ns0:date_retrieved20120215/ns0:date_retrieved
/rdf:Description
I haven't tracked down what makes the date datatype disappear but that seems to be another issue.
When loading rdf/xml like:
...
documents:date_published1920/time:before
/documents:date_published
...
with
$parser->parse(the_file.rdf);
generates
...
/rdf:Description