Revision 5122
Added by ben leinfelder about 15 years ago
lib/metacat.properties | ||
---|---|---|
201 | 201 |
xml.eml2_0_0namespace=eml://ecoinformatics.org/eml-2.0.0 |
202 | 202 |
xml.eml2_0_1namespace=eml://ecoinformatics.org/eml-2.0.1 |
203 | 203 |
xml.eml2_1_0namespace=eml://ecoinformatics.org/eml-2.1.0 |
204 |
xml.rdf_syntax_namespace=http://www.w3.org/1999/02/22-rdf-syntax-ns# |
|
204 | 205 |
xml.useFullSchemaValidation=true |
205 | 206 |
xml.packagedoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN, -//ecoinformatics.org//eml-dataset-2.0.0beta4//EN |
206 | 207 |
xml.accessdoctype=-//ecoinformatics.org//eml-access-2.0.0beta6//EN, -//ecoinformatics.org//eml-access-2.0.0beta4//EN |
src/edu/ucsb/nceas/metacat/DocumentImpl.java | ||
---|---|---|
116 | 116 |
public static final String EML2_0_0NAMESPACE; |
117 | 117 |
public static final String EML2_0_1NAMESPACE; |
118 | 118 |
public static final String EML2_1_0NAMESPACE; |
119 |
public static final String RDF_SYNTAX_NAMESPACE; |
|
119 | 120 |
|
120 | 121 |
static { |
121 | 122 |
String eml200NameSpace = null; |
122 | 123 |
String eml201NameSpace = null; |
123 | 124 |
String eml210NameSpace = null; |
125 |
String rdfNameSpace = null; |
|
124 | 126 |
try { |
125 | 127 |
eml200NameSpace = PropertyService.getProperty("xml.eml2_0_0namespace"); |
126 | 128 |
eml201NameSpace = PropertyService.getProperty("xml.eml2_0_1namespace"); |
127 | 129 |
eml210NameSpace = PropertyService.getProperty("xml.eml2_1_0namespace"); |
130 |
rdfNameSpace = PropertyService.getProperty("xml.rdf_syntax_namespace"); |
|
128 | 131 |
} catch (PropertyNotFoundException pnfe) { |
129 | 132 |
System.err.println("Could not get property in static block: " |
130 | 133 |
+ pnfe.getMessage()); |
... | ... | |
136 | 139 |
// "eml://ecoinformatics.org/eml-2.0.1"; |
137 | 140 |
EML2_0_0NAMESPACE = eml200NameSpace; |
138 | 141 |
// "eml://ecoinformatics.org/eml-2.0.0"; |
142 |
RDF_SYNTAX_NAMESPACE = rdfNameSpace; |
|
139 | 143 |
} |
140 | 144 |
|
141 | 145 |
public static final String DOCNAME = "docname"; |
Also available in: Unified diff
special handling for RDF namespace documents (semtools project)