You are viewing a plain text version of this content. The canonical link for it is here.
Posted to npanday-commits@incubator.apache.org by br...@apache.org on 2013/03/06 16:21:46 UTC

svn commit: r1453402 - /incubator/npanday/trunk/dotnet/assemblies/NPanday.Utils/src/main/csharp/SettingsUtil.cs

Author: brett
Date: Wed Mar  6 16:21:45 2013
New Revision: 1453402

URL: http://svn.apache.org/r1453402
Log:
[NPANDAY-572] avoid duplicating the profiles element

Modified:
    incubator/npanday/trunk/dotnet/assemblies/NPanday.Utils/src/main/csharp/SettingsUtil.cs

Modified: incubator/npanday/trunk/dotnet/assemblies/NPanday.Utils/src/main/csharp/SettingsUtil.cs
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.Utils/src/main/csharp/SettingsUtil.cs?rev=1453402&r1=1453401&r2=1453402&view=diff
==============================================================================
--- incubator/npanday/trunk/dotnet/assemblies/NPanday.Utils/src/main/csharp/SettingsUtil.cs (original)
+++ incubator/npanday/trunk/dotnet/assemblies/NPanday.Utils/src/main/csharp/SettingsUtil.cs Wed Mar  6 16:21:45 2013
@@ -247,7 +247,7 @@ namespace NPanday.Utils
                 }
                 else
                 {
-                    XmlNode profilesNode = settingsXmlDoc.SelectSingleNode("//*[local-name='profiles']");
+                    XmlNode profilesNode = settingsXmlDoc.SelectSingleNode("//settings/profiles");
                     if (profilesNode == null)
                     {
                         // create profiles