|
From: <rv...@us...> - 2011-08-25 15:00:17
|
Revision: 948
http://treebase.svn.sourceforge.net/treebase/?rev=948&view=rev
Author: rvos
Date: 2011-08-25 15:00:11 +0000 (Thu, 25 Aug 2011)
Log Message:
-----------
Actually, the skos:historyNote should probably be attached to the tree block, not the study
Modified Paths:
--------------
trunk/treebase-core/src/main/java/org/cipres/treebase/domain/nexus/nexml/NexmlTreeBlockConverter.java
Modified: trunk/treebase-core/src/main/java/org/cipres/treebase/domain/nexus/nexml/NexmlTreeBlockConverter.java
===================================================================
--- trunk/treebase-core/src/main/java/org/cipres/treebase/domain/nexus/nexml/NexmlTreeBlockConverter.java 2011-08-25 14:40:19 UTC (rev 947)
+++ trunk/treebase-core/src/main/java/org/cipres/treebase/domain/nexus/nexml/NexmlTreeBlockConverter.java 2011-08-25 15:00:11 UTC (rev 948)
@@ -101,7 +101,7 @@
org.nexml.model.TreeBlock xmlTreeBlock = getDocument().createTreeBlock(xmlOTUs);
// attach base uri and skos:historyNote
- getDocument().addAnnotationValue("skos:historyNote", Constants.SKOSURI, "Mapped from TreeBASE schema using NexmlTreeBlockConverter $Rev$");
+ xmlTreeBlock.addAnnotationValue("skos:historyNote", Constants.SKOSURI, "Mapped from TreeBASE schema using NexmlTreeBlockConverter $Rev$");
xmlTreeBlock.setBaseURI(mTreeBaseURI);
if ( null != treeBlock.getTitle() ) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|