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.

@quoted seems to have no effect on validation result

See original GitHub issue

CSV:

test-heading1,test-heading2,test-heading3
test-content1,test-content2,test-content3

CSV Schema:

version 1.1
@quoted
@totalColumns 3
@permitEmpty
@ignoreColumnNameCase
test-heading1: starts("test")
test-heading2: starts("test")
test-heading3: starts("test")

RESULT:

PASS

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
DavidUnderdowncommented, Jan 3, 2019

It shouldn’t matter either way, the CSV RFC says that quotes should only be used as necessary, but *nix tools tend to quote all columns by default. Just write your rules based on the data you actually want to see, ignoring any quotes. If we have opportunity we’ll try to merge #156 as @adamretter suggests, the you would use the quoted directive if all fields should be quoted.

1reaction
DavidUnderdowncommented, Dec 19, 2018

OK. Will see if we can somehow squeeze that through.

Read more comments on GitHub >

github_iconTop Results From Across the Web

jsf 2 - quotes are lost from validation error message with ...
1 Answer 1 ... This is caused by the MessageFormat API which is under the covers being used for message formatting (substituting {0}...
Read more >
FEC | Reporting | Validation errors explained
FECFile users: This error generally indicates that you have not closed the report. From the Reports window, highlight and right-click on your report,...
Read more >
Error Explanations for The W3C Markup Validation Service
This error may appear when the validator receives an empty document. Please make sure that the document you are uploading is not empty,...
Read more >
Your validation loss is lower than your training loss? This is ...
During validation and testing, your loss function only comprises prediction error, resulting in a generally lower loss than the training set. Image by...
Read more >
Solutions to common product CSV import problems
This can be the result of Excel or another spreadsheet program adding curly quotes (smart quotes). These quotes need to be replaced with...
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