fixed a couple incorrect slashes, now document is well-structured but foaf namespace validation fails (NO DTD found)
authorStephan Zednik <zednis@rpi.edu>
Thu, 01 Nov 2012 15:24:12 -0600
changeset 4617 66b8e83713ec
parent 4616 a34c6e8e05a8
child 4618 4cd7c5020731
fixed a couple incorrect slashes, now document is well-structured but foaf namespace validation fails (NO DTD found)
primer/primer-prov-xml-examples.xml
--- a/primer/primer-prov-xml-examples.xml	Thu Nov 01 15:13:53 2012 -0600
+++ b/primer/primer-prov-xml-examples.xml	Thu Nov 01 15:24:12 2012 -0600
@@ -3,8 +3,7 @@
 <prov:document
     xmlns:prov="http://www.w3.org/ns/prov#"
 	xmlns:dct="http://purl.org/dc/terms/"
-	xmlns:foaf="http://xmlns.com/foaf/0.1/"
-	xmlns:ex="http://example.com/ns/ex#">
+	xmlns:foaf="http://xmlns.com/foaf/0.1/">
 
   <!-- Entities -->
 
@@ -141,7 +140,7 @@
 
   <prov:activity prov:id="ex:correct"/>
 
-  <prov:agent prov:id="ex:edith"/>
+  <prov:agent prov:id="ex:edith">
     <prov:type>prov:Person</prov:type>
   </prov:agent>
 
@@ -176,11 +175,11 @@
   <prov:wasEndedBy>
     <prov:activity prov:ref="ex:correct"/>
     <prov:time>2012-04-01T15:21:00</prov:time>
-  <prov:wasEndedBy>
+  </prov:wasEndedBy>
 	
   <!-- alternatively, you can put the activity start and end time in the activity declaration -->
 
-  <prov:activity prov:id="ex:correct"/>
+  <prov:activity prov:id="ex:correct">
     <prov:startTime>2012-03-31T09:21:00</prov:startTime>
     <prov:endTime>2012-04-01T15:21:00</prov:endTime>
   </prov:activity>