Permalink
Browse files

Add prefix ma to default xml context

  • Loading branch information...
niklasl committed Mar 17, 2012
1 parent 525d13e commit 79030a548d9a0b360b86b0124f9a2ef6d437d6a6
Showing with 4 additions and 0 deletions.
  1. +1 −0 src/rdfa/profiles.clj
  2. +3 −0 test/rdfa/test/core.clj
View
@@ -5,6 +5,7 @@
(def contexts
{:xml ; "http://www.w3.org/2011/rdfa-context/rdfa-1.1"
{:prefix-map {"grddl" "http://www.w3.org/2003/g/data-view#",
+ "ma" "http://www.w3.org/ns/ma-ont#"
"owl" "http://www.w3.org/2002/07/owl#",
"rdf" "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"rdfa" "http://www.w3.org/ns/rdfa#",
View
@@ -20,6 +20,9 @@
(expand-term-or-curie env "ns:name")
=> [(IRI. "http://example.org/ns#name") nil]
+ (expand-term-or-curie env "ns:")
+ => [(IRI. "http://example.org/ns#") nil]
+
(expand-term-or-curie env "ns:name:first")
=> [(IRI. "http://example.org/ns#name:first") nil]

0 comments on commit 79030a5

Please sign in to comment.