chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dcaru...@apache.org
Subject svn commit: r917998 - /incubator/chemistry/trunk/chemistry/chemistry-tck-atompub/src/main/java/org/apache/chemistry/tck/atompub/client/CMISClient.java
Date Tue, 02 Mar 2010 12:28:50 GMT
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) {}



Mime
View raw message