You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@any23.apache.org by an...@apache.org on 2014/05/12 03:06:04 UTC

git commit: Fix FOAF namespace

Repository: any23
Updated Branches:
  refs/heads/master 0c714f336 -> 3ae0feacd


Fix FOAF namespace


Project: http://git-wip-us.apache.org/repos/asf/any23/repo
Commit: http://git-wip-us.apache.org/repos/asf/any23/commit/3ae0feac
Tree: http://git-wip-us.apache.org/repos/asf/any23/tree/3ae0feac
Diff: http://git-wip-us.apache.org/repos/asf/any23/diff/3ae0feac

Branch: refs/heads/master
Commit: 3ae0feacde2ab51751ca6d1fd94af85bb0e4c321
Parents: 0c714f3
Author: scor <sc...@gmail.com>
Authored: Sun May 11 08:14:23 2014 -0400
Committer: scor <sc...@gmail.com>
Committed: Sun May 11 08:14:23 2014 -0400

----------------------------------------------------------------------
 .../any23/extractor/rdfa/AbstractRDFaExtractorTestCase.java  | 2 +-
 src/site/apt/dev-csv-extractor.apt                           | 8 ++++----
 .../src/test/resources/html/rdfa/rdfa-11-curies.html         | 2 +-
 .../resources/org/apache/any23/extractor/csv/test-comma.csv  | 2 +-
 .../org/apache/any23/extractor/csv/test-missing.csv          | 2 +-
 .../org/apache/any23/extractor/csv/test-semicolon.csv        | 2 +-
 .../resources/org/apache/any23/extractor/csv/test-tab.csv    | 2 +-
 7 files changed, 10 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/any23/blob/3ae0feac/core/src/test/java/org/apache/any23/extractor/rdfa/AbstractRDFaExtractorTestCase.java
----------------------------------------------------------------------
diff --git a/core/src/test/java/org/apache/any23/extractor/rdfa/AbstractRDFaExtractorTestCase.java b/core/src/test/java/org/apache/any23/extractor/rdfa/AbstractRDFaExtractorTestCase.java
index ca95ce2..7fdfd8a 100644
--- a/core/src/test/java/org/apache/any23/extractor/rdfa/AbstractRDFaExtractorTestCase.java
+++ b/core/src/test/java/org/apache/any23/extractor/rdfa/AbstractRDFaExtractorTestCase.java
@@ -86,7 +86,7 @@ public abstract class AbstractRDFaExtractorTestCase extends AbstractExtractorTes
         );
         assertContains(
                 RDFUtils.uri("http://database.org/table/Departments"),
-                RDFUtils.uri("http://xmlns.org/foaf/01/author"),
+                RDFUtils.uri("http://xmlns.com/foaf/0.1/author"),
                 RDFUtils.uri("http://database.org/people/Davide_Palmisano")
         );
         assertContains(

http://git-wip-us.apache.org/repos/asf/any23/blob/3ae0feac/src/site/apt/dev-csv-extractor.apt
----------------------------------------------------------------------
diff --git a/src/site/apt/dev-csv-extractor.apt b/src/site/apt/dev-csv-extractor.apt
index 294d80e..07f8343 100644
--- a/src/site/apt/dev-csv-extractor.apt
+++ b/src/site/apt/dev-csv-extractor.apt
@@ -59,7 +59,7 @@ CSV Extractor Algorithm
   For example, given this trivial CSV with an header and just two rows:
 
 +---------------------------------------------------------------
-first name; last name; http://xmlns.org/foaf/01/knows; age
+first name; last name; http://xmlns.com/foaf/0.1/knows; age
 Davide; Palmisano; http://michelemostarda.com; 30; value should not appear
 Michele; Mostarda; http://g1o.net;
 +---------------------------------------------------------------
@@ -81,7 +81,7 @@ Michele; Mostarda; http://g1o.net;
     rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">1</columnPosition>
   </rdf:Description>
 
-  <rdf:Description rdf:about="http://xmlns.org/foaf/01/knows">
+  <rdf:Description rdf:about="http://xmlns.com/foaf/0.1/knows">
     <columnPosition xmlns="http://vocab.sindice.net/csv/"
     rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">2</columnPosition>
   </rdf:Description>
@@ -98,7 +98,7 @@ Michele; Mostarda; http://g1o.net;
     rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Davide</firstName>
     <lastName xmlns="http://bob.example.com/"
     rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Palmisano</lastName>
-    <knows xmlns="http://xmlns.org/foaf/01/"
+    <knows xmlns="http://xmlns.com/foaf/0.1/"
     rdf:resource="http://michelemostarda.com"/
     <age xmlns="http://bob.example.com/"
     rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">30</age>
@@ -118,7 +118,7 @@ Michele; Mostarda; http://g1o.net;
     rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Michele</firstName>
     <lastName xmlns="http://bob.example.com/"
     rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Mostarda</lastName>
-    <knows xmlns="http://xmlns.org/foaf/01/" rdf:resource="http://g1o.net" />
+    <knows xmlns="http://xmlns.com/foaf/0.1/" rdf:resource="http://g1o.net" />
   </rdf:Description>
 
   <rdf:Description rdf:about="http://bob.example.com/">

http://git-wip-us.apache.org/repos/asf/any23/blob/3ae0feac/test-resources/src/test/resources/html/rdfa/rdfa-11-curies.html
----------------------------------------------------------------------
diff --git a/test-resources/src/test/resources/html/rdfa/rdfa-11-curies.html b/test-resources/src/test/resources/html/rdfa/rdfa-11-curies.html
index cb78b59..acda3f4 100644
--- a/test-resources/src/test/resources/html/rdfa/rdfa-11-curies.html
+++ b/test-resources/src/test/resources/html/rdfa/rdfa-11-curies.html
@@ -26,7 +26,7 @@
     <div prefix="db: http://database.org/ dc: http://purl.org/dc/01/" about="db:table/Departments">
         <span property="db:description" content="Tables listing departments"></span>
        <span rel="db:owner" resource="[db:people/Davide_Palmisano]"></span>
-        <span prefix="foaf: http://xmlns.org/foaf/01/" rel="foaf:author"
+        <span prefix="foaf: http://xmlns.com/foaf/0.1/" rel="foaf:author"
               resource="db:people/Davide_Palmisano"></span>
         <span property="dc:name" content="Departments"></span>
     </div>

http://git-wip-us.apache.org/repos/asf/any23/blob/3ae0feac/test-resources/src/test/resources/org/apache/any23/extractor/csv/test-comma.csv
----------------------------------------------------------------------
diff --git a/test-resources/src/test/resources/org/apache/any23/extractor/csv/test-comma.csv b/test-resources/src/test/resources/org/apache/any23/extractor/csv/test-comma.csv
index 661bb88..24fc65d 100644
--- a/test-resources/src/test/resources/org/apache/any23/extractor/csv/test-comma.csv
+++ b/test-resources/src/test/resources/org/apache/any23/extractor/csv/test-comma.csv
@@ -1,4 +1,4 @@
-first name, last name, http://xmlns.org/foaf/01/knows, age
+first name, last name, http://xmlns.com/foaf/0.1/knows, age
 Davide, Palmisano, http://michelemostarda.com, 30, value should not appear
 Michele, Mostarda, http://g1o.net,
 Giovanni, Tummarello, http://twitter.com/cygri,
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/any23/blob/3ae0feac/test-resources/src/test/resources/org/apache/any23/extractor/csv/test-missing.csv
----------------------------------------------------------------------
diff --git a/test-resources/src/test/resources/org/apache/any23/extractor/csv/test-missing.csv b/test-resources/src/test/resources/org/apache/any23/extractor/csv/test-missing.csv
index b1e8f21..27340b6 100644
--- a/test-resources/src/test/resources/org/apache/any23/extractor/csv/test-missing.csv
+++ b/test-resources/src/test/resources/org/apache/any23/extractor/csv/test-missing.csv
@@ -1,4 +1,4 @@
-first name,last name,http://xmlns.org/foaf/01/knows,age
+first name,last name,http://xmlns.com/foaf/0.1/knows,age
 ,Palmisano,http://michelemostarda.com,30
 Michele,,http://g1o.net,
 Giovanni,Tummarello,,

http://git-wip-us.apache.org/repos/asf/any23/blob/3ae0feac/test-resources/src/test/resources/org/apache/any23/extractor/csv/test-semicolon.csv
----------------------------------------------------------------------
diff --git a/test-resources/src/test/resources/org/apache/any23/extractor/csv/test-semicolon.csv b/test-resources/src/test/resources/org/apache/any23/extractor/csv/test-semicolon.csv
index c96fd8d..b233aaf 100644
--- a/test-resources/src/test/resources/org/apache/any23/extractor/csv/test-semicolon.csv
+++ b/test-resources/src/test/resources/org/apache/any23/extractor/csv/test-semicolon.csv
@@ -1,4 +1,4 @@
-first name; last name; http://xmlns.org/foaf/01/knows; age
+first name; last name; http://xmlns.com/foaf/0.1/knows; age
 Davide; Palmisano; http://michelemostarda.com; 30; value should not appear
 Michele; Mostarda; http://g1o.net;
 Giovanni; Tummarello; http://twitter.com/cygri;
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/any23/blob/3ae0feac/test-resources/src/test/resources/org/apache/any23/extractor/csv/test-tab.csv
----------------------------------------------------------------------
diff --git a/test-resources/src/test/resources/org/apache/any23/extractor/csv/test-tab.csv b/test-resources/src/test/resources/org/apache/any23/extractor/csv/test-tab.csv
index af787b8..9bddcec 100644
--- a/test-resources/src/test/resources/org/apache/any23/extractor/csv/test-tab.csv
+++ b/test-resources/src/test/resources/org/apache/any23/extractor/csv/test-tab.csv
@@ -1,4 +1,4 @@
-first name	 last name	 http://xmlns.org/foaf/01/knows	 age
+first name	 last name	 http://xmlns.com/foaf/0.1/knows	 age
 Davide	 Palmisano	 http://michelemostarda.com	 30	 value should not appear
 Michele	 Mostarda	 http://g1o.net	
 Giovanni	 Tummarello	 http://twitter.com/cygri	
\ No newline at end of file