Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 5ca8671c authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

bugfix: hasing overwriting date

parent 6b217545
No related branches found
No related tags found
No related merge requests found
......@@ -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!");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment