(no commit message)
authorAndreas Müller <a.mueller@bgbm.org>
Thu, 28 Aug 2008 08:32:01 +0000 (08:32 +0000)
committerAndreas Müller <a.mueller@bgbm.org>
Thu, 28 Aug 2008 08:32:01 +0000 (08:32 +0000)
cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/tcs/TcsTaxonNameIO.java

index d8a3e63184d5a0f8b041294c967e27c3a767120c..c7b65c8e53aa148d302b7477f415da8977579e48 100644 (file)
@@ -166,12 +166,12 @@ public class TcsTaxonNameIO  extends TcsIoBase implements ICdmIO {
                                        Element elNomenclaturalNote = elAnnotation.getChild("NomenclaturalNote", tcsNamespace);\r
                                        if (elNomenclaturalNote != null){\r
                                                String statusValue = (String)ImportHelper.getXmlInputValue(elNomenclaturalNote, "note", tcsNamespace);\r
-                                               String type = XmlHelp.getChildAttributeValue(elNomenclaturalNote, "type", taxonConceptNamespace, "resource", rdfNamespace);\r
+                                               String type = XmlHelp.getChildAttributeValue(elNomenclaturalNote, "type", tcsNamespace, "resource", rdfNamespace);\r
                                                String tdwgType = "http://rs.tdwg.org/ontology/voc/TaxonName#PublicationStatus";\r
                                                if (tdwgType.equalsIgnoreCase(type)){\r
                                                        try {\r
-                                                               //NomenclaturalStatusType statusType = TaxonXTransformer.nomStatusString2NomStatus(statusValue);\r
-                                                               NomenclaturalStatusType statusType = NomenclaturalStatusType.getNomenclaturalStatusTypeByAbbreviation(statusValue);\r
+                                                               NomenclaturalStatusType statusType = TcsTransformer.nomStatusString2NomStatus(statusValue);\r
+                                                               //NomenclaturalStatusType statusType = NomenclaturalStatusType.getNomenclaturalStatusTypeByAbbreviation(statusValue);\r
                                                                if (statusType != null){\r
                                                                        nameBase.addStatus(NomenclaturalStatus.NewInstance(statusType));\r
                                                                }\r