$ 0 0 Problem: Malformed XML in -profile when no profiles exist: https://mfcmapi.codeplex.com/workitem/16727 Fix: Move output to end of function