Revision 47090
Added by Sandro La Bruzzo over 7 years ago
modules/dnet-dli-domain/trunk/src/main/java/eu/dnetlib/data/transform/xml/DliToHbaseXsltFunctions.java | ||
---|---|---|
140 | 140 |
final NodeList about) { |
141 | 141 |
|
142 | 142 |
try { |
143 |
DNGFProtos.DNGFRel.Builder rel = relProto(source, target, relationSemantic, relType);
|
|
143 |
DNGFProtos.DNGFRel.Builder rel = relProto(source.trim(), target.trim(), relationSemantic, relType);
|
|
144 | 144 |
List<FieldTypeProtos.KeyValue.Builder> collectedFrom = getDatasourceProvenance(about, "collectedFrom", null); |
145 | 145 |
if (collectedFrom == null || collectedFrom.isEmpty()) { |
146 | 146 |
throw new IllegalStateException(String.format("missing provenance information in rel source '%s', target '%s'", source, target)); |
Also available in: Unified diff
fixed error on whitespace