In this method, there is a hashtable that gets initialized. The problem is that I'm trying to create more than one to connection to my server and this section chokes because it's trying to add duplicate keys to the ascTab hashtable.
Actual code:
Code: Select all
internal static void Initialize() {
//--- XML Entities Conversion table ----------------------
ascTab.Add(">", ">");
Another way:
Code: Select all
internal static void Initialize() {
//--- XML Entities Conversion table ----------------------
ascTab[">"] = ">";
I'm just curious if this is the intended design? If so, what are the ramifications of modifying this code as above to support multiple connections? If not, will there be any updates that fix this behavior.
Let me know what you think Thomas.
Best,
DL