Hi,

Adobe Drive 2 does the following when you request a checkout:

POST /.../repo/checkedout
Content-Type: application/atom+xml;type=entry

<atom:entry xmlns:atom="http://www.w3.org/2005/Atom";>
  ...
  <atom:content
src="http://localhost.../.../repo/content?id=5f8a7a2e-6175-4111-84a3-f70e2d83702e";
type="image/jpeg" />
  <cmisra:object
xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200908/";>
  ...
  </cmisra:object>
  ...
</atom:entry>

In particular it provides a content src (the one from the entry
itself), which OpenCMIS doesn't like:
HTTP/1.1 405 Method Not Allowed

This is due to code in AtomEntryParser.parseAtomContent:
            } else if (ATTR_SRC.equals(attrName.getLocalPart())) {
                throw new CmisNotSupportedException("External content
not supported!");
            }

I'm not sure this is the right thing to do here, can we just ignore
this external content?

Florent



-- 
Florent Guillaume, Director of R&D, Nuxeo
Open Source, Java EE based, Enterprise Content Management (ECM)
http://www.nuxeo.com   http://www.nuxeo.org   +33 1 40 33 79 87

Reply via email to