private static final String PROBLEM_MARKER_ID = "com.amashchenko.eclipse.strutsclipse.tilesxmlproblemmarker";
private static final String DUP_DEFINITION_MESSAGE_TEXT = "Duplicate definition name.";
private final TilesXmlParser tilesXmlParser;
public TilesXmlValidator() {
<BUG>tilesXmlParser = new TilesXmlParser();
}</BUG>
@Override
public ValidationResult validate(IResource resource, int kind,
ValidationState state, IProgressMonitor monitor) {
IDocument document = null;

private static final String PROBLEM_MARKER_ID = "com.amashchenko.eclipse.strutsclipse.tilesxmlproblemmarker";
private static final String DUP_DEFINITION_MESSAGE_TEXT = "Duplicate definition name.";
private final TilesXmlParser tilesXmlParser;
public TilesXmlValidator() {
tilesXmlParser = new TilesXmlParser();
}
@Override
protected String getProblemMarkerId() {
return PROBLEM_MARKER_ID;
}
@Override
public ValidationResult validate(IResource resource, int kind,
ValidationState state, IProgressMonitor monitor) {
IDocument document = null;
