What André said is important. You can't mix compile- and run-time conditionals:

+            if ($debug && xmlDom == null) {
+ Debug.error('Could not instantiate a XML DOM ActiveXObject');
+            }

This statement will not be optimized out of non-debug.  You have to say:

if ($debug) {
  if (xmlDom == null) {
    Debug.error('Could not instantiate a XML DOM ActiveXObject');
  }
}

Reply via email to