I was having trouble making both CMIS Explorer and CMIS Spaces Air
downloading my files.
After much debugging I couldn't see what was wrong so I had a look at
Flex CMIS Client's sources and found out that you guys are using the
property "ContentStreamURI", when the correct one according to the
spec and its .xsd files is "ContentStreamUri".
So Alfresco is using a property that's not in the spec and you guys
are using that.
To avoid relying on the property name, if I could suggest something, I
think that to find the file URI it's better to use either the <link
rel="cmis-stream" href=""/>, currently required by the CMIS spec, or
the <content src=""/> URI, which is mandated by AtomPub. Alfresco
Also, as the TC wants to move toward more AtomPub spirit, it's not
impossible that some or all redundant properties get removed, which is
why <content src=""/> is likely to be a future-proof method. Although
the suggested way of having multiple content streams per document is
based on having multiple <link rel="cmis-stream" href=""/>... So
whatever you think is better :)
Actually, there's another bug in Alfresco, and CMIS Explorer at least
follows it (I haven't looked at CMIS Spaces):
The proper type for ContentStreamUri is URI, but Alfresco serves a
ContentStreamURI that is a String:
and of course CMIS Explorer to read it does:
doc.url = d.object.properties.propertyString.