Skip to content

Commit 025aed8

Browse files
committed
[tools/odmlparser] Make xml the default RDF format
1 parent a0df68b commit 025aed8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

odml/tools/odmlparser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def to_string(self, odml_document):
6969
string_doc = unicode(xmlparser.XMLWriter(odml_document))
7070
elif self.parser == "RDF":
7171
# Use turtle as default output format for now.
72-
string_doc = RDFWriter(odml_document).get_rdf_str("turtle")
72+
string_doc = RDFWriter(odml_document).get_rdf_str("xml")
7373
else:
7474
self.parsed_doc = DictWriter().to_dict(odml_document)
7575

0 commit comments

Comments
 (0)