False problem reported: 'js:valuesImpl' tag (or tag before this tag) is unclosed or tag not allowed here.
See original GitHub issueThere is problem reported but there is no problem. How to reproduce: Using latest VSCode and latest extension (v0.4.2), create sample app with this code:
<?xml version="1.0" encoding="utf-8"?>
<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:js="library://ns.apache.org/flexjs/basic">
<js:initialView>
<js:View>
<js:Label text="Hello World" x="100" y="100"/>
</js:View>
</js:initialView>
<js:valuesImpl>
<js:SimpleCSSValuesImpl />
</js:valuesImpl>
</js:Application>
- after </js:initialView> press ENTER create new line, and write letter or two to get auto completion and click any of the auto complete suggestions.
- do same in next new line.
- problem is reported, which is ok, like: ‘This text is unexpected. It will be ignored.’
- delete created lines (to get original sample code only), two problems appear: message: ‘This text is unexpected. It will be ignored.’ at: ‘8,19’ message: ‘‘js:valuesImpl’ tag (or tag before this tag) is unclosed or tag not allowed here.’ at: ‘11,2’
Workaround: Restart VSCode, problem is gone.
Comment: There should not be any problems. It looks something is not “refreshed” after deleting new lines. Could be related to https://github.com/BowlerHatLLC/vscode-nextgenas/issues/46#issuecomment-268132244
Issue Analytics
- State:
- Created 6 years ago
- Comments:12 (12 by maintainers)
Top Results From Across the Web
Police Warn of Fake Paper Tags Used to Cheat Car Buyers
Law enforcement investigators told NBC 5 Investigates unscrupulous dealers are using fraudulent paper tags to disguise vehicles that have ...
Read more >Information About Temporary Tags in Texas | TxDMV.gov
Implementation of House Bill 3927 allowed the department to place limits on the number of temporary tags licensed Texas dealers can create, consistent...
Read more >Attaching Tag or Plate Not Assigned- Florida
In Florida, it is a criminal offense to knowingly attach to a vehicle a license plate or license tag that has not been...
Read more >Google Tag Manager Errors - Tag Assistant Help
This error indicates that even though Google Tag Manager code snippet was detected in the page source, the script itself did not execute....
Read more >Fake paper license plates Texas: Loophole causing problems
The getaway car used by the suspects had temporary tags, which turned out to be bogus. This was not an isolated incident.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
So it turns out that the way that I was storing files in memory was changing all line endings to \n, even if the file’s line endings where \r\n. This led to some things getting out of sync, and that caused both of these issues.
I will release version 0.4.3 next week with the fix.
I randomly gave it a try on Windows today, and I could reproduce both issues. For some reason, they will not reproduce on macOS, though.