Hi,

> From: Jukka Zitting [mailto:jukka.zitt...@gmail.com]
> On Wed, Dec 5, 2012 at 12:18 PM, Marcel Reutegger
> <mreut...@adobe.com> wrote:
> > sounds good to me. though, I initially didn't plan to implement a Validator
> > at all ;) the CommitHook should ensure that the modifications it does are
> > consistent. but yes, better safe than sorry...
> 
> OK. We can start with a pretty trivial VersionValidator that for
> example just verifies that the jcr:baseVersion references a nt:version
> node within the correct nt:versionHistory node referenced by the
> jcr:versionHistory property. It perhaps could also sure that a
> specific version label occurs only once within a version history. Most
> of the remaining essential validation should already come from the
> TypeValidator.

you are right, I didn't think of the TypeValidator. That should already cover
for quite some cases. i.e. all the static constraints that are described by the
version related node type.

Regards
 Marcel


Reply via email to