Fix failing tests regrding ordering of entries in prefixes.properties
Project: http://git-wip-us.apache.org/repos/asf/any23/repo Commit: http://git-wip-us.apache.org/repos/asf/any23/commit/72035bf6 Tree: http://git-wip-us.apache.org/repos/asf/any23/tree/72035bf6 Diff: http://git-wip-us.apache.org/repos/asf/any23/diff/72035bf6 Branch: refs/heads/master Commit: 72035bf631199e6eb5527c59926934a98dfa2464 Parents: 59e087e Author: Lewis John McGibbney <[email protected]> Authored: Wed Jul 26 13:56:53 2017 -0700 Committer: Lewis John McGibbney <[email protected]> Committed: Wed Jul 26 13:56:53 2017 -0700 ---------------------------------------------------------------------- .../main/java/org/apache/any23/vocab/CSV.java | 2 +- .../apache/any23/prefixes/prefixes.properties | 28 ++++++++++---------- 2 files changed, 15 insertions(+), 15 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/any23/blob/72035bf6/api/src/main/java/org/apache/any23/vocab/CSV.java ---------------------------------------------------------------------- diff --git a/api/src/main/java/org/apache/any23/vocab/CSV.java b/api/src/main/java/org/apache/any23/vocab/CSV.java index 8f1893e..c8ecfe7 100644 --- a/api/src/main/java/org/apache/any23/vocab/CSV.java +++ b/api/src/main/java/org/apache/any23/vocab/CSV.java @@ -73,7 +73,7 @@ public class CSV extends Vocabulary { /** * The namespace of the vocabulary as a string. */ - public static final String NS = "http://any23.apache.org/csv/"; + public static final String NS = "http://tools.ietf.org/html/rfc4180"; private static CSV instance; http://git-wip-us.apache.org/repos/asf/any23/blob/72035bf6/core/src/main/resources/org/apache/any23/prefixes/prefixes.properties ---------------------------------------------------------------------- diff --git a/core/src/main/resources/org/apache/any23/prefixes/prefixes.properties b/core/src/main/resources/org/apache/any23/prefixes/prefixes.properties index 6a23b91..8bb4e16 100644 --- a/core/src/main/resources/org/apache/any23/prefixes/prefixes.properties +++ b/core/src/main/resources/org/apache/any23/prefixes/prefixes.properties @@ -16,29 +16,29 @@ # # This file contains some popular RDF prefixes to be used in Any23 +rdf=https://www.w3.org/TR/REC-rdf-syntax# +rdfs=https://www.w3.org/TR/rdf-schema# +xhtml=http://www.w3.org/1999/xhtml/vocab# dcterms=http://purl.org/dc/terms/ -doac=http://ramonantonio.net/doac/0.1/# -ex=http://example.com/ns# -fb=http://www.facebook.com/2008/fbml# foaf=http://xmlns.com/foaf/spec/ geo=http://www.w3.org/2003/01/geo/wgs84_pos# +xfn=http://microformats.org/wiki/xfn/ +vcard=http://www.w3.org/2006/vcard/ns# +ical=http://www.w3.org/2002/12/cal/icaltzd# hlisting=http://microformats.org/wiki/hlisting/ +rev=http://purl.org/stuff/rev# +doac=http://ramonantonio.net/doac/0.1/# +ex=http://example.com/ns# +wo=http://purl.org/ontology/wo/ +skos=http://www.w3.org/2004/02/skos/core# hrecipe=http://microformats.org/wiki/hrecipe/ hevent=http://microformats.org/wiki/hevent/ hcard=http://microformats.org/wiki/hcard/ hproduct=http://microformats.org/wiki/hproduct/ hitem=http://microformats.org/wiki/hitem/ hentry=http://microformats.org/wiki/hentry/ -ical=http://www.w3.org/2002/12/cal/icaltzd# -jsonld=http://www.w3.org/ns/json-ld# -og=http://opengraphprotocol.org/schema/ -rev=http://purl.org/stuff/rev# -rdf=https://www.w3.org/TR/REC-rdf-syntax# -rdfs=https://www.w3.org/TR/rdf-schema# sindice=http://vocab.sindice.net/ -skos=http://www.w3.org/2004/02/skos/core# -vcard=http://www.w3.org/2006/vcard/ns# -wo=http://purl.org/ontology/wo/ -xfn=http://microformats.org/wiki/xfn/ -xhtml=http://www.w3.org/1999/xhtml/vocab# +og=http://opengraphprotocol.org/schema/ +fb=http://www.facebook.com/2008/fbml# +jsonld=http://www.w3.org/ns/json-ld#
