[jira] [Commented] (SLING-4450) Configure the XML validator to not run for content projects
[ https://issues.apache.org/jira/browse/SLING-4450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15632268#comment-15632268 ] Konrad Windszus commented on SLING-4450: The only option to disable the grammar check is by setting {{indicateNoGrammer}} to {{0}} in the project scope of the preference store for the qualifier {{org.eclipse.wst.xml.core}} (compare with {{org.eclipse.wst.xml.core.internal.validation.eclipse.Validator#setupValidation}}). That isn't really nice, because it has to be done for each project individually. Therefore I would prefer to have our own configurator derived from org.eclipse.wst.xml.core.internal.validation.eclipse.Validator which always disables that option. Other than that it should behave exactly as the default XML validator (as configured in project or workspace preferences). > Configure the XML validator to not run for content projects > --- > > Key: SLING-4450 > URL: https://issues.apache.org/jira/browse/SLING-4450 > Project: Sling > Issue Type: Improvement > Components: IDE >Reporter: Robert Munteanu >Assignee: Robert Munteanu > Fix For: Sling Eclipse IDE 1.0.6 > > > Currently .content.xml files are validated and trigger spurious warnings > about "No grammar constraints (DTD or XML Schema) referenced in the > document." . > There seems to be an extension point for achieving this, see > https://bugs.eclipse.org/bugs/show_bug.cgi?id=227834 . > In the future we could consider providing our own validator. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (SLING-4450) Configure the XML validator to not run for content projects
[ https://issues.apache.org/jira/browse/SLING-4450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=1426#comment-1426 ] Robert Munteanu commented on SLING-4450: No, that's not available anymore. However, that should be (for the short term) supplanted by the improved error reporting in SLING-4409 . On the long term I intend to provide a custom validator for valut files. If you have an idea about how to disable just the grammar constraints warnings I'd be happy to incorporate it, but right now I'm tired of seeing loads of warnings when they don't apply to our use case. > Configure the XML validator to not run for content projects > --- > > Key: SLING-4450 > URL: https://issues.apache.org/jira/browse/SLING-4450 > Project: Sling > Issue Type: Improvement > Components: IDE >Reporter: Robert Munteanu >Assignee: Robert Munteanu > Fix For: Sling Eclipse IDE 1.0.6 > > > Currently .content.xml files are validated and trigger spurious warnings > about "No grammar constraints (DTD or XML Schema) referenced in the > document." . > There seems to be an extension point for achieving this, see > https://bugs.eclipse.org/bugs/show_bug.cgi?id=227834 . > In the future we could consider providing our own validator. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (SLING-4450) Configure the XML validator to not run for content projects
[ https://issues.apache.org/jira/browse/SLING-4450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=1424#comment-1424 ] Konrad Windszus commented on SLING-4450: Is there still the check for well-formedness active then? Because that is very useful for .content.xml files. > Configure the XML validator to not run for content projects > --- > > Key: SLING-4450 > URL: https://issues.apache.org/jira/browse/SLING-4450 > Project: Sling > Issue Type: Improvement > Components: IDE >Reporter: Robert Munteanu >Assignee: Robert Munteanu > Fix For: Sling Eclipse IDE 1.0.6 > > > Currently .content.xml files are validated and trigger spurious warnings > about "No grammar constraints (DTD or XML Schema) referenced in the > document." . > There seems to be an extension point for achieving this, see > https://bugs.eclipse.org/bugs/show_bug.cgi?id=227834 . > In the future we could consider providing our own validator. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (SLING-4450) Configure the XML validator to not run for content projects
[ https://issues.apache.org/jira/browse/SLING-4450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14329785#comment-14329785 ] Robert Munteanu commented on SLING-4450: Fixed in https://svn.apache.org/viewvc?view=revision&revision=r1661243 > Configure the XML validator to not run for content projects > --- > > Key: SLING-4450 > URL: https://issues.apache.org/jira/browse/SLING-4450 > Project: Sling > Issue Type: Improvement > Components: IDE >Reporter: Robert Munteanu >Assignee: Robert Munteanu > Fix For: Sling Eclipse IDE 1.0.6 > > > Currently .content.xml files are validated and trigger spurious warnings > about "No grammar constraints (DTD or XML Schema) referenced in the > document." . > There seems to be an extension point for achieving this, see > https://bugs.eclipse.org/bugs/show_bug.cgi?id=227834 . > In the future we could consider providing our own validator. -- This message was sent by Atlassian JIRA (v6.3.4#6332)