Revision 8857
Added by Lauren Walker over 10 years ago
metacat-index/src/main/java/edu/ucsb/nceas/metacat/index/annotation/RdfXmlSubprocessor.java | ||
---|---|---|
137 | 137 |
URI nameURI = new URI(indexDocId); |
138 | 138 |
String scheme = nameURI.getScheme(); |
139 | 139 |
if((scheme == null) || (scheme.isEmpty())){ |
140 |
name = "http://" + indexDocId; |
|
140 |
name = "http://" + indexDocId.toLowerCase();
|
|
141 | 141 |
} |
142 | 142 |
|
143 | 143 |
boolean loaded = dataset.containsNamedModel(name); |
Also available in: Unified diff
Create a valid URI by using all lowercase letters when creating a name for the triple model in the Rdf Xml Subprocessor. See bug: https://projects.ecoinformatics.org/ecoinfo/issues/6595