In the NetBeans IDE, open the event processor that you want to validate.
Click the Validate XML icon at the top of the Design view.
The results appear in the Output window.
If you switch to the Source view and click a validation error in the Output window, then the source of the error is highlighted.