diff options
author | David Robillard <d@drobilla.net> | 2022-07-07 18:44:40 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-07-17 17:08:39 -0400 |
commit | 1c04550ba7db794fe23032143afeb07bee04ea08 (patch) | |
tree | 9392a5351241f3bbe151220a0fb75a447debcb1d /lv2specgen | |
parent | c473f47f21c84aaf03ec179dde57c7929867b1ec (diff) | |
download | lv2-1c04550ba7db794fe23032143afeb07bee04ea08.tar.xz |
Consistently use the prefix "dcterms" everywhere
Diffstat (limited to 'lv2specgen')
-rw-r--r-- | lv2specgen/DTD/xhtml-rdfa-1.dtd | 2 | ||||
-rwxr-xr-x | lv2specgen/lv2specgen.py | 2 | ||||
-rw-r--r-- | lv2specgen/template.html | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/lv2specgen/DTD/xhtml-rdfa-1.dtd b/lv2specgen/DTD/xhtml-rdfa-1.dtd index 26ed117..dcfbf09 100644 --- a/lv2specgen/DTD/xhtml-rdfa-1.dtd +++ b/lv2specgen/DTD/xhtml-rdfa-1.dtd @@ -442,7 +442,7 @@ mangle DTDs to appease validation --> <!ATTLIST html xmlns:dc CDATA #IMPLIED> -<!ATTLIST html xmlns:dct CDATA #IMPLIED> +<!ATTLIST html xmlns:dcterms CDATA #IMPLIED> <!ATTLIST html xmlns:rdf CDATA #IMPLIED> <!ATTLIST html xmlns:rdfs CDATA #IMPLIED> diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py index a4ccefa..ceeefbd 100755 --- a/lv2specgen/lv2specgen.py +++ b/lv2specgen/lv2specgen.py @@ -93,7 +93,7 @@ ns_list = { "http://rdfs.org/sioc/ns#": "sioc", "http://xmlns.com/foaf/0.1/": "foaf", "http://purl.org/dc/elements/1.1/": "dc", - "http://purl.org/dc/terms/": "dct", + "http://purl.org/dc/terms/": "dcterms", "http://purl.org/rss/1.0/modules/content/": "content", "http://www.w3.org/2003/01/geo/wgs84_pos#": "geo", "http://www.w3.org/2004/02/skos/core#": "skos", diff --git a/lv2specgen/template.html b/lv2specgen/template.html index ed9d6fb..879a109 100644 --- a/lv2specgen/template.html +++ b/lv2specgen/template.html @@ -3,7 +3,7 @@ <html about="@URI@" xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/" - xmlns:dct="http://purl.org/dc/terms/" + xmlns:dcterms="http://purl.org/dc/terms/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:lv2="http://lv2plug.in/ns/lv2core#" @@ -77,12 +77,12 @@ </div> <div> Valid - <a about="" rel="dct:conformsTo" resource="http://www.w3.org/TR/rdfa-syntax" + <a about="" rel="dcterms:conformsTo" resource="http://www.w3.org/TR/rdfa-syntax" href="http://validator.w3.org/check?uri=referer"> XHTML+RDFa </a> and - <a about="" rel="dct:conformsTo" resource="http://www.w3.org/TR/CSS2" + <a about="" rel="dcterms:conformsTo" resource="http://www.w3.org/TR/CSS2" href="http://jigsaw.w3.org/css-validator/check/referer"> CSS </a> |