Add oma: and onix: namespace prefixes
authorMo McRoberts <mo.mcroberts@bbc.co.uk>
Mon, 12 May 2014 10:44:59 +0100
changeset 48 cfe2a5d1cf37
parent 47 b4f9085116b1
child 49 6180eb5b79b4
Add oma: and onix: namespace prefixes
phpspecgen.php
--- a/phpspecgen.php	Mon May 12 10:44:44 2014 +0100
+++ b/phpspecgen.php	Mon May 12 10:44:59 2014 +0100
@@ -24,6 +24,8 @@
 
 # Extra namespaces we use
 EasyRdf_Namespace::set('odrl', 'http://www.w3.org/ns/odrl/2/');
+EasyRdf_Namespace::set('oma', 'http://www.openmobilealliance.com/oma-dd/');
+EasyRdf_Namespace::set('onix', 'http://www.editeur.org/onix-pl/');
 
 $uri = $argv[2];
 $graph = new EasyRdf_Graph($uri);