RDF/XML parser incorrectly trims element data for (literal) property nodes

Description

The following RDF document:

or:

both documents, when parsed, will fail to produce a triple with bar as the predicate and an empty-string literal value as the object.

In contrast:

will produce the expected triple. Cause is that in the latter case the element is recognized as being empty and gets special treatment.

Environment

None

Status

Assignee

Jeen Broekstra

Reporter

Jeen Broekstra

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure