Hi Michael,
The spec also says:
"Repositories that support the changeLogToken event MUST expose the
latest change log token (i.e. the change log token corresponding to the
most recent change to any object in the repository) as a property
returned by the getRepositoryInfo service."
That sounds to me that the latestChangeLogToken must not be null if
getContentChanges is supported.
If there are no initial changes, you could return a token that
expresses that.
Florian
Hi,
What should latestChangeLogToken be if getContentChanges returns no
changes?
The spec says
"String latestChangeLogToken: The change log token corresponding to
the last change event in changeEvents."
However, changeEvents is empty, so there is no last change.
Currently I return null, but the tck checks for not null in
ContentChangesSmokeTest (line 65).
Maybe the tck should only do that check if changeEvents is not empty.
Michael