[jbosstools-issues] [JBoss JIRA] (JBIDE-18724) HTML Validation: Ability to ignore custom htm tags (e.g. <ion-*>)

Victor Rubezhny (JIRA) issues at jboss.org
Wed Nov 12 21:07:29 EST 2014


    [ https://issues.jboss.org/browse/JBIDE-18724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13019584#comment-13019584 ] 

Victor Rubezhny edited comment on JBIDE-18724 at 11/12/14 9:06 PM:
-------------------------------------------------------------------

[~akazakov], The PR can be applied, but the issue cannot be resolved until WTP 3.6.3 (with org.eclipse.wst.html.core v.1.1.801 inside) is released and picked up by the Target Platform. 

https://github.com/jbosstools/jbosstools-jst/pull/404 is to be applied on jbosstools-4.2.x only it's compatible with any versions of WTP 3.6.x, but is to be used with WTP v/3.6.3 and later (It states at the preference page that it cannot be used with WTP < 3.6.3. It can be successfully built on any WTP 3.6.x as well)

JUnit Test for Quick Fix is updated



was (Author: vrubezhny):
[~akazakov], please do not resolve the issue for a while (I should update a JUnit Test for quick fix) 

https://github.com/jbosstools/jbosstools-jst/pull/404 is to be applied on jbosstools-4.2.x only it's compatible with any versions of WTP 3.6.x, but is to be used with WTP v/3.6.3 and later (It states at the preference page that it cannot be used with WTP < 3.6.3. It can be successfully built on any WTP 3.6.x as well)

JUnit Test for Quick Fix follows



> HTML Validation: Ability to ignore custom htm tags (e.g. <ion-*>)
> -----------------------------------------------------------------
>
>                 Key: JBIDE-18724
>                 URL: https://issues.jboss.org/browse/JBIDE-18724
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: jsp/jsf/xml/html source editing, upstream
>            Reporter: Victor Rubezhny
>            Assignee: Victor Rubezhny
>              Labels: new_and_noteworthy
>             Fix For: 4.2.1.Final
>
>
> WTP HTML validator marks any custom html tags as unknown. It's possible to disable this validation at all: Window->Preferences->Web->HTML Files->Validation ==> Set Elements -> Unknown tag name severity to "Ignore":
> !00001262.png!
> But it would be useful to have ability to make HTML validator ignore some particular tags only.
> I suggest to contribute a patch to WTP to fix it.
> We have already did it for attributes, so lets do it for tags too:
> - New preferences with a list of ignored tags (a mask can be used)
> - A new preference page to set these preferences
> - QuickFix for validation problem which will add the tag name/mask to this list/preferences
> - Extension in our angular/ionic plugin which will disable validation for <ion-*> tags.
> I've filed it to bugzilla - https://bugs.eclipse.org/bugs/show_bug.cgi?id=444545 but we have to provide a patch for it if we want to have it done ;)



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the jbosstools-issues mailing list