Hi I am note sure what your problem/question is. Let us assume you
have loaded the model standalone (see FAQ in wiki for that) then the
snippet you need for validation is in the doc. But I am not sure if
you want to use manual validation at all.
Need training, onsite consulting or any other kind of help for Xtext?
Go visit http://xtext.itemis.com or send a mail to xtext at itemis dot de
Need professional support for Xtext, Xpand, EMF?
Go to: http://xtext.itemis.com
Twitter : @chrdietrich
Blog : christiandietrich.wordpress.com