Error: Requires <rdf:RDF>

Hello,

I’m attempting to validate RDF included within an SVG <metadata> element.

My RDF includes only one rdf:Description, so it should be possible to omit rdf:RDF (see the last line of RDF 1.1 XML Syntax, 2.6 Completing the Document <https://www.w3.org/TR/rdf-syntax-grammar/>), but doing so returns the error "Error: Your document does not contain any RDF statement."

Is this correct? The RDF grapher provided by www.ldf.fi <http://www.ldf.fi/> returns the opposite error; it requires that rdf:RDF not be included when parsing SVG metadata, returning the error "rdf:RDF is forbidden as a node element.”

Please assist.

best regards,
adam rooney

Received on Thursday, 12 September 2019 23:42:51 UTC