"Unable to load schema from '\': No content" error using JSON schema for YAML validation.
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- json, yaml
- Domain
- tooling
Research direction
Start by reproducing the local JSON schema association in Eclipse with the provided schema and YAML examples, then compare it with the web URL setup described in the linked guide. The work is done when the local schema loads without the “No content” error and the invalid YAML is flagged as expected.
Written by the indexing model from the issue text.
Description
I am encountering an issue when I try to use a JSON schema file to validate my YAML files. I am using Eclipse and I have created the content type like so:
And added the following schema association for it:
But when I go to the file in question all I get is this error at the top:
I created it following this guide but selected a local file I had on my system rather than a web URL. Is this a bug or am I missing something?
My Schema:
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Test Schema",
"type": "object",
"additionalProperties": false,
"properties": {
"test": {
"type": ["array", "null"]
}
}
}
My YAML (which should be invalid):
---
startList:
- 1
- 2
- Dominant language
- Java
- Stars
- 203
- Forks
- 76
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 30
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from eclipse-wildwebdeveloper/wildwebdeveloper
-
Markdown and Astro language servers do not start when the project path contains a non-ASCII character or a spacePossibly taken @RoiSoleil claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
eclipse-wildwebdeveloper/wildwebdeveloper#2277 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 65/100
eclipse-wildwebdeveloper/wildwebdeveloper#2236 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
eclipse-wildwebdeveloper/wildwebdeveloper#2177 ·
Maintainers usually reply within 1 day
-
SQL Language serverOpenenhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
eclipse-wildwebdeveloper/wildwebdeveloper#2122 · 2 comments ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 35/100
eclipse-wildwebdeveloper/wildwebdeveloper#2070 · 1 comment ·
Maintainers usually reply within 1 day
All issues in eclipse-wildwebdeveloper/wildwebdeveloper
Similar issues
-
面渣逆袭Spring事务传播机制勘误Open
Difficulty 1/5 Under an hour Newbie friendliness 80/100
itwanger/toBeBetterJavaer#218 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
johanhaleby/occurrent#1462 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
SasanLabs/VulnerableApp#912 ·
Maintainers usually reply within 1 day
-
area/build area/events area/storage area/storage/kafkasql area/storage/sql
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Apicurio/apicurio-registry#11079 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
OpenAEV-Platform/openaev#9139 ·
Maintainers usually reply within 1 day