question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

False problem reported: 'js:valuesImpl' tag (or tag before this tag) is unclosed or tag not allowed here.

See original GitHub issue

There 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>
  1. 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.
  2. do same in next new line.
  3. problem is reported, which is ok, like: ‘This text is unexpected. It will be ignored.’
  4. 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:closed
  • Created 6 years ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
joshtynjalacommented, May 4, 2017

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.

0reactions
joshtynjalacommented, May 4, 2017

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found