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.
Summary: | Allow Schlieman lexer to continuously lex embedded language over more tokens of its parent language | ||
---|---|---|---|
Product: | obsolete | Reporter: | Marek Fukala <mfukala> |
Component: | languages | Assignee: | Jan Jancura <jjancura> |
Status: | RESOLVED DUPLICATE | ||
Severity: | blocker | CC: | mmetelka, pjiricka |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
Marek Fukala
2007-10-15 14:24:39 UTC
Schliemann engine has never supported such usecase. Moreover, described functionality looks like bug in HTML lexer. &restart does not represent character, as far as I know HTML. We have never supported embedded javascript in html and jsp, but we said we will in 6.0. I understand that this issue is more enhancement than bug, but Schlieman has been choosen as the basis of the new features so from this point of view its lack of the functionality prevents us to complete the task. Moreover I belive the change should be minimal, at least for this case. If not, please elaborate a little. I understand you do not want to have more P2s, but I need a way how to track it. It blocks some other P2s so that is why I made this as P2. As for your comment - just replace &restart by please. I have to repeat yourself: 1) I think that its probably bug in HTML lexer. Attribute value should be represented by one token. Second possibility is using some preprocessor for special characters. But I do not know how to implement it - its probably HTML module designer task... 2) Its definitely not a bug. This functionality has never been supported or planned. 3) I do not know how to implement this functionality correctly. If you have some idea how to do it, feel free to submit a patch. So, I am not sure how to resolve this task now. I do not want to play some ping-ponk... Sooo - INVALID, and I will discuss it offline with Marek. I am quite good in ping-pong :-). Just a short comment to #1 - this is not about the particular case, it is just an ilustration of the problem. The issue subject is selfexplanatory I belive. We have already discussed the same when you complained about the content of <script> tag not being just one token. As I already written, I workarounded it for the script tag by doing some not nice changes in the lexer, but I do not want to do the same for all other cases if it is not necessary. So, I admit, this is "just" a lack of functionality I need. If it is not possible or very hard to fix on your side I'll try to workaround it somehow, but please, do not close issues because with "this is your bug" justification. We will discuss this issue tomorrow offline, but I belive you will find some effective solution as you always done so far when resolving my silly requests. Thanks. *** This issue has been marked as a duplicate of 117450 *** I agree with duplicating this issue to the Mila's task. The current problem is that the CSS lexer always get EOF at the end of the the higher level html token so it cannot properly lex since it requires lookahead overlaping the end of the section. |