[ https://issues.apache.org/jira/browse/CMIS-872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14219942#comment-14219942 ]
Florian Müller commented on CMIS-872: ------------------------------------- That is a limitation of the AtomPub binding. It's not possible to get the change log token from the change log feed. See spec section 3.10.2. OpenCMIS has a proprietary way of transporting the chnage log token. It recoginizes a changeLogToken tag in the feed like this: {{<chemistry:changeLogToken xmlns:chemistry="http://chemistry.apache.org/">someToken</chemistry:changeLogToken>}} OpenCMIS based servers send this automatically. > ChangeEvents.getLatestChangeLogToken returns null in Atompub binding > -------------------------------------------------------------------- > > Key: CMIS-872 > URL: https://issues.apache.org/jira/browse/CMIS-872 > Project: Chemistry > Issue Type: Bug > Components: opencmis-client > Affects Versions: OpenCMIS 0.12.0 > Environment: Windows 64 bits, JDK 1.7 update 60 > Reporter: Vincent Tang > Labels: getContentChanges > > Our test code is like > ChangeEvents changeEvents = > session.getContentChanges(latestChangeLogToken, false, 25; > > String newlatestChangeLogToken = > changeEvents.getLatestChangeLogToken(); > assertNotNull(newlatestChangeLogToken); > But ChangeEvents.getLatestChangeLogToken returns null. I looked at the > response feed. I cannot figure out which part is missing. Can you tell from > which field OpenCMIS Client API reads the latestChangeLogToken in the feed? -- This message was sent by Atlassian JIRA (v6.3.4#6332)