BusinessMgr 3.0.0.1
This commit is contained in:
@@ -41,7 +41,7 @@ namespace Sarand.Net.Standard.Proc.Xml
|
||||
document = new XmlDocument();
|
||||
if (!StringUtil.IsEmpty(rootElementName))
|
||||
document.AppendElement(rootElementName);
|
||||
return !HasErrorState();
|
||||
return OK;
|
||||
}
|
||||
public bool LoadXml (String xml)
|
||||
{
|
||||
@@ -52,7 +52,7 @@ namespace Sarand.Net.Standard.Proc.Xml
|
||||
document.LoadXml(xml);
|
||||
}
|
||||
catch (Exception exc) { SetErrorState(ExceptionUtil.GetErrorStateMessage(exc)); }
|
||||
return !HasErrorState();
|
||||
return OK;
|
||||
}
|
||||
public bool LoadXml (Stream xml)
|
||||
{
|
||||
@@ -64,7 +64,7 @@ namespace Sarand.Net.Standard.Proc.Xml
|
||||
document.Load(xml);
|
||||
}
|
||||
catch (Exception exc) { SetErrorState(ExceptionUtil.GetErrorStateMessage(exc)); }
|
||||
return !HasErrorState();
|
||||
return OK;
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user