You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@chemistry.apache.org by fm...@apache.org on 2012/03/11 18:39:52 UTC

svn commit: r1299407 - /chemistry/dotcmis/trunk/DotCMIS/binding/atompub/atompub-parser.cs

Author: fmui
Date: Sun Mar 11 17:39:51 2012
New Revision: 1299407

URL: http://svn.apache.org/viewvc?rev=1299407&view=rev
Log:
CMIS-513: Fixed namespaces

Modified:
    chemistry/dotcmis/trunk/DotCMIS/binding/atompub/atompub-parser.cs

Modified: chemistry/dotcmis/trunk/DotCMIS/binding/atompub/atompub-parser.cs
URL: http://svn.apache.org/viewvc/chemistry/dotcmis/trunk/DotCMIS/binding/atompub/atompub-parser.cs?rev=1299407&r1=1299406&r2=1299407&view=diff
==============================================================================
--- chemistry/dotcmis/trunk/DotCMIS/binding/atompub/atompub-parser.cs (original)
+++ chemistry/dotcmis/trunk/DotCMIS/binding/atompub/atompub-parser.cs Sun Mar 11 17:39:51 2012
@@ -48,11 +48,11 @@ namespace DotCMIS.Binding.AtomPub
             ObjectSerializer = new XmlSerializer(typeof(cmisObjectType), objectXmlRoot);
 
             XmlRootAttribute allowableActionsXmlRoot = new XmlRootAttribute("allowableActions");
-            allowableActionsXmlRoot.Namespace = AtomPubConstants.NamespaceRestAtom;
+            allowableActionsXmlRoot.Namespace = AtomPubConstants.NamespaceCMIS;
             AllowableActionsSerializer = new XmlSerializer(typeof(cmisAllowableActionsType), allowableActionsXmlRoot);
 
             XmlRootAttribute aclXmlRoot = new XmlRootAttribute("acl");
-            aclXmlRoot.Namespace = AtomPubConstants.NamespaceRestAtom;
+            aclXmlRoot.Namespace = AtomPubConstants.NamespaceCMIS;
             AclSerializer = new XmlSerializer(typeof(cmisAccessControlListType), aclXmlRoot);
         }