diff --git a/dmlex-v1.0/specification/core/objectTypes/lexicographicResource.xml b/dmlex-v1.0/specification/core/objectTypes/lexicographicResource.xml index ce22a70..26a0035 100644 --- a/dmlex-v1.0/specification/core/objectTypes/lexicographicResource.xml +++ b/dmlex-v1.0/specification/core/objectTypes/lexicographicResource.xml @@ -96,7 +96,8 @@ RDF -@prefix dmlex: <https://docs.oasis-open.org/lexidma/dmlex/v1.0/schemas/RDF/dmlex.ttl#> . +@prefix dmlex: + <https://docs.oasis-open.org/lexidma/dmlex/v1.0/schemas/RDF/dmlex.ttl#> . <#id> a dmlex:LexicographicResource ; dmlex:title "..." ; diff --git a/dmlex-v1.0/specification/examples/examples/build_source.py b/dmlex-v1.0/specification/examples/examples/build_source.py index 0eb97aa..9f54edf 100644 --- a/dmlex-v1.0/specification/examples/examples/build_source.py +++ b/dmlex-v1.0/specification/examples/examples/build_source.py @@ -6,8 +6,8 @@ for f in glob("source/*.xml"): if f.endswith(".xml.xml") or f.endswith(".rdf.xml") or f.endswith(".json.xml"): continue - with open(f) as inf: - with open(f + ".xml", "w") as outf: + with open(f, encoding="utf-8") as inf: + with open(f + ".xml", "w", encoding="utf-8") as outf: outf.write("\n") outf.write("\n") for line in inf.readlines(): @@ -19,8 +19,8 @@ outf.write("\n") for f in glob("source/*.rdf"): - with open(f) as inf: - with open(f + ".xml", "w") as outf: + with open(f, encoding="utf-8") as inf: + with open(f + ".xml", "w", encoding="utf-8") as outf: n = 1 outf.write("\n") outf.write("\n") @@ -34,8 +34,8 @@ outf.write("\n") for f in glob("source/*.json"): - with open(f) as inf: - with open(f + ".xml", "w") as outf: + with open(f, encoding="utf-8") as inf: + with open(f + ".xml", "w", encoding="utf-8") as outf: outf.write("\n") outf.write("\n") for line in inf.readlines(): diff --git a/dmlex-v1.0/specification/examples/examples/source/8.rdf.xml b/dmlex-v1.0/specification/examples/examples/source/8.rdf.xml index 6ddbe59..e9d347c 100644 --- a/dmlex-v1.0/specification/examples/examples/source/8.rdf.xml +++ b/dmlex-v1.0/specification/examples/examples/source/8.rdf.xml @@ -8,7 +8,7 @@ ex:doctor-n-1 a dmlex:Sense; dmlex:headwordTranslation [ a dmlex:HeadwordTranslation; dmlex:text "Ă„rztin"; dmlex:listingOrder "2"^^xsd:unsignedInt; - dmlex:langCode "de" + dmlex:langCode "de" ; dmlex:partOfSpeech [ dmlex:tag "n-fem"; dmlex:listingOrder "1"^^xsd:unsignedInt ] ],