rdflib.js icon indicating copy to clipboard operation
rdflib.js copied to clipboard

RDF+XML serializer never produces typed node elements

Open akoptelov opened this issue 8 years ago • 3 comments

RDF specification states that typed nodes can be represented in XML

... more concisely by replacing the rdf:Description node element name with the namespaced-element corresponding to the IRI of the value of the type relationship"

(see 2.13 Typed Node Elements).

Still now serializer fails to do so since it has erroneous condition on object node termType.

akoptelov avatar Jan 12 '18 10:01 akoptelov

Thank you so very much! Why is this Pull-Request still open after 3 years? This fixes the malformed RDF+XML !

Fabbi avatar Jan 19 '21 14:01 Fabbi

PR #216 fails to pass the tests on node 6.0 You may propose a new PR that may pass the actual tests.

bourgeoa avatar Jan 19 '21 21:01 bourgeoa

@akoptelov @Fabbi done and committed with PR #471

bourgeoa avatar Jan 26 '21 13:01 bourgeoa