Added new property ChangeBarDate to fix approval bug involving change bars

Added code to handle processing slave nodes of multi unit config file
This commit is contained in:
Rich
2013-04-08 14:41:44 +00:00
parent 0979a8b178
commit 8ddb8c88d2
2 changed files with 46 additions and 1 deletions

View File

@@ -55,7 +55,7 @@ namespace VEPROMS.CSLA.Library
private XmlNode GetGroup(string group)
{
XmlNodeList xl = _XmlContents.DocumentElement.SelectNodes(string.Format("//{0}", group));
if(xl.Count == 0)
if(xl.Count == 0 && System.Text.RegularExpressions.Regex.IsMatch(group,"^[A-Za-z0-9]+$"))
xl = _XmlContents.DocumentElement.SelectNodes(
string.Format("//*[translate(local-name(), 'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz')='{0}']", group.ToLower()));
switch (xl.Count)