hi carsten,
hehe ;) > He, you're taking all the fun out of this discussion :) > Now, I think it makes sense to have an additional validation mechanism > on top of JCR. I guess with the node type definitions you can't handle > all validation cases (like validating one field depends on the value of > another one etc.). So we need these hooks. i am all for a general "validate()" hook. (... to take care of the "dream"-case. ;) ) > It makes sense to leverage the validation information from the > nodetypes, of course. And I also think that it makes sense to validate > the input based on this information before a commit. So some sort of > general service doing this would be great... excellent. then all the general cases from xss to integer validation can easily be taken care of via regular nodetype definition. regards, david