You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@chemistry.apache.org by dc...@apache.org on 2010/03/02 13:28:50 UTC

svn commit: r917998 - /incubator/chemistry/trunk/chemistry/chemistry-tck-atompub/src/main/java/org/apache/chemistry/tck/atompub/client/CMISClient.java

Author: dcaruana
Date: Tue Mar  2 12:28:50 2010
New Revision: 917998

URL: http://svn.apache.org/viewvc?rev=917998&view=rev
Log:
Validate allowableactions responses in TCK.

Modified:
    incubator/chemistry/trunk/chemistry/chemistry-tck-atompub/src/main/java/org/apache/chemistry/tck/atompub/client/CMISClient.java

Modified: incubator/chemistry/trunk/chemistry/chemistry-tck-atompub/src/main/java/org/apache/chemistry/tck/atompub/client/CMISClient.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/trunk/chemistry/chemistry-tck-atompub/src/main/java/org/apache/chemistry/tck/atompub/client/CMISClient.java?rev=917998&r1=917997&r2=917998&view=diff
==============================================================================
--- incubator/chemistry/trunk/chemistry/chemistry-tck-atompub/src/main/java/org/apache/chemistry/tck/atompub/client/CMISClient.java (original)
+++ incubator/chemistry/trunk/chemistry/chemistry-tck-atompub/src/main/java/org/apache/chemistry/tck/atompub/client/CMISClient.java Tue Mar  2 12:28:50 2010
@@ -537,7 +537,8 @@
                         mimetypeValidator = getAtomValidator();
                     }
                     else if (contentType.startsWith(CMISConstants.MIMETYPE_APP)
-                            || contentType.startsWith(CMISConstants.MIMETYPE_CMISACL)) {
+                            || contentType.startsWith(CMISConstants.MIMETYPE_CMISACL)
+                            || contentType.startsWith(CMISConstants.MIMETYPE_CMIS_ALLOWABLE_ACTIONS)) {
                         mimetypeValidator = getAppValidator();
                     }
                 } catch(SAXException e) {}