[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-8459) I18nValidator creates invalid error messages

Snjezana Peco (JIRA) jira-events at lists.jboss.org
Mon Feb 21 18:02:26 EST 2011


I18nValidator creates invalid error messages
--------------------------------------------

                 Key: JBIDE-8459
                 URL: https://issues.jboss.org/browse/JBIDE-8459
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: JSF
    Affects Versions: 3.3.x
            Reporter: Snjezana Peco
            Assignee: Alexey Kazakov


This issue can be reproduced by creating a Seam EAR project. The Web project will contain xhtml errors.
The problem is because I18nValidator is declared as a V2 validator, but doesn't implement the org.eclipse.wst.xml.core.internal.validation.eclipse.Validator.validate method.
org.eclipse.wst.xml.core.internal.validation.eclipse.Validator is executed with the default indicatNoGrammar value 1 (a warning) which throws errors.

A solution is to implement the Validator.validate method or set indicateNoGrammar to 0 (none).

BTW  A validator by the name JSF2 Components Validator already exists.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list