This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 104445 [details] Code snippet showing the error When I use JSF Facletes' ui:inside in <html><h:head><style> I get a wrong error hint (see attached images) but it works when using it elsewhere, as e.g. in <html><h:head><script>
Created attachment 104446 [details] Code snippet showing the error
hmm, that's because the JSF editor support is based on the html parser result and html parser result parses the <script> tag content as plain text. possibly tricky to fix properly so putting off to the next release
Is this bug possibly related or even the same bug as bug 193228? ..and sorry but I do not think that this is only a minor issue but rather serious problem for web app developers. Therefore, I would like to see this bug and bug 193228 fixed in 7.0 FCS and hence changed the target accordingly.
>Is this bug possibly related or even the same bug as bug 193228? It has nothing to do with the issue, completely different problem. Given the fact that issue 193228 is not related, what the arguments for the issue being a serious problem for web app developers? Please do no take it wrong, I'm just trying to prioritize the issue since they cannot be fixed all.
Of course, you need to prioritize and since this is not related to the other mentioned bug - which is happening very often (most likely not only) for me and thus should be fixed quickly - so this bug can be scaled down a bit. But if you look at the screenshots I have attached to this issue, the error does not happen in the script tag - as you wrote - but in the style tag. ...but it is probably not possible to take the code from validating the script tag and reuse it for the style tag, right?
script and stype tags have the same type of content.
Then it is strange that the error badge is shown for the style tag but not for the script tag (as you can see in the screenshot).
Apparently the html content in the style sections is not something the css parser can parse. As for the javascript, it seems the parser somehow parses the content, or at least it doesn't report any errors within. Anyway this is irrelevant to the main problem - script/style the content should be taken into account when processing facelets content. As I said in the very beginning due to the current design this may be quite tricky to fix properly...
>script and stype tags have the same type of content. To clarify this statement - I ment the *html parser* ignores the content of this tags basically. The content of the tags is properly mapped and used by the javascript resp. css support.
Moving to proper category...
*** Bug 203307 has been marked as a duplicate of this bug. ***
*** Bug 219729 has been marked as a duplicate of this bug. ***
Any news on that? Still reproducable with latest 7.4 daily build.
*** Bug 232730 has been marked as a duplicate of this bug. ***
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss