diff --git a/VectoCommon/VectoHashing/VectoHash.cs b/VectoCommon/VectoHashing/VectoHash.cs index 22a0d468df16149266d70a1a0ad9008ca45826d6..53b982286da84d66c9173856358f371c6c406302 100644 --- a/VectoCommon/VectoHashing/VectoHash.cs +++ b/VectoCommon/VectoHashing/VectoHash.cs @@ -189,7 +189,7 @@ namespace TUGraz.VectoHashing query = component == VectoComponents.VectoCustomerInformation || component == VectoComponents.VectoOutput ? string.Format("*/*[local-name()='Data']/*[local-name()='ApplicationInformation']/*[local-name()='Date']") - : string.Format("*/*[local-name()='{0}']/*/*[local-name()='Date']", component); + : string.Format("*/*[local-name()='{0}']/*/*[local-name()='Date']", component.XMLElementName()); var dateNode = Document.SelectSingleNode(query); if (dateNode == null) { throw new Exception("Date-Element not found in input!");