chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f...@apache.org
Subject svn commit: r1183312 - /chemistry/dotcmis/trunk/DotCMIS/binding/converter.cs
Date Fri, 14 Oct 2011 11:34:50 GMT
Author: fmui
Date: Fri Oct 14 11:34:49 2011
New Revision: 1183312

URL: http://svn.apache.org/viewvc?rev=1183312&view=rev
Log:
Another attempt to fix CMIS-380

Modified:
    chemistry/dotcmis/trunk/DotCMIS/binding/converter.cs

Modified: chemistry/dotcmis/trunk/DotCMIS/binding/converter.cs
URL: http://svn.apache.org/viewvc/chemistry/dotcmis/trunk/DotCMIS/binding/converter.cs?rev=1183312&r1=1183311&r2=1183312&view=diff
==============================================================================
--- chemistry/dotcmis/trunk/DotCMIS/binding/converter.cs (original)
+++ chemistry/dotcmis/trunk/DotCMIS/binding/converter.cs Fri Oct 14 11:34:49 2011
@@ -419,7 +419,7 @@ namespace DotCMIS.Binding
                             foreach (DateTime value in prop.value) { pd.DefaultValue.Add(value);
}
                         }
                     }
-                    else if (element.LocalName.Equals("choiceDateTime"))
+                    else if (element.LocalName.Equals("choice"))
                     {
                         cmisChoiceDateTime choice = DeserializeElement<cmisChoiceDateTime>(element);
                         if (choice != null)
@@ -476,7 +476,7 @@ namespace DotCMIS.Binding
                             foreach (decimal value in prop.value) { pd.DefaultValue.Add(value);
}
                         }
                     }
-                    else if (element.LocalName.Equals("choiceDateTime"))
+                    else if (element.LocalName.Equals("choice"))
                     {
                         cmisChoiceDecimal choice = DeserializeElement<cmisChoiceDecimal>(element);
                         if (choice != null)
@@ -528,7 +528,7 @@ namespace DotCMIS.Binding
                             foreach (string value in prop.value) { pd.DefaultValue.Add(value);
}
                         }
                     }
-                    else if (element.LocalName.Equals("choiceHtml"))
+                    else if (element.LocalName.Equals("choice"))
                     {
                         cmisChoiceHtml choice = DeserializeElement<cmisChoiceHtml>(element);
                         if (choice != null)
@@ -568,7 +568,7 @@ namespace DotCMIS.Binding
                             foreach (string value in prop.value) { pd.DefaultValue.Add(value);
}
                         }
                     }
-                    else if (element.LocalName.Equals("choiceId"))
+                    else if (element.LocalName.Equals("choice"))
                     {
                         cmisChoiceId choice = DeserializeElement<cmisChoiceId>(element);
                         if (choice != null)
@@ -617,7 +617,7 @@ namespace DotCMIS.Binding
                             foreach (string value in prop.value) { pd.DefaultValue.Add(Int64.Parse(value));
}
                         }
                     }
-                    else if (element.LocalName.Equals("choiceId"))
+                    else if (element.LocalName.Equals("choice"))
                     {
                         cmisChoiceInteger choice = DeserializeElement<cmisChoiceInteger>(element);
                         if (choice != null)
@@ -662,7 +662,7 @@ namespace DotCMIS.Binding
                             foreach (string value in prop.value) { pd.DefaultValue.Add(value);
}
                         }
                     }
-                    else if (element.LocalName.Equals("choiceString"))
+                    else if (element.LocalName.Equals("choice"))
                     {
                         cmisChoiceString choice = DeserializeElement<cmisChoiceString>(element);
                         if (choice != null)
@@ -709,7 +709,7 @@ namespace DotCMIS.Binding
                             foreach (string value in prop.value) { pd.DefaultValue.Add(value);
}
                         }
                     }
-                    else if (element.LocalName.Equals("choiceUri"))
+                    else if (element.LocalName.Equals("choice"))
                     {
                         cmisChoiceUri choice = DeserializeElement<cmisChoiceUri>(element);
                         if (choice != null)



Mime
View raw message