'Cannot find preset schema for namespace' when using the API
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 45/100
Línea de trabajo
Start by reproducing the POST request against https://validator.w3.org/nu/?out=json with the Atom XML payload shown in the issue. Compare that behavior with https://validator.w3.org/feed/check.cgi, then trace how the API endpoint selects and resolves a preset schema for the http://www.w3.org/2005/Atom namespace. Done means the request no longer returns the preset-schema error and the API provides a useful response or explanation for Atom feeds.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Hi,
I'm trying validate my RSS file using curl but for some reasons, it doesn't work (I am able to validate HTML, CSS though).
I didn't find any piece of documentation regarding the the w3c validation API.
When I validate the RSS manually using https://validator.w3.org/feed/check.cgi, it works like a charm.
Is there something wrong with my curl command?
Error message
Cannot find preset schema for namespace: “http://www.w3.org/2005/Atom”
Command
curl --request POST \
--url 'https://validator.w3.org/nu/?out=json' \
--header 'Content-Type: application/xml' \
--data '<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
</feed>'
# output
{"messages":[{"type":"non-document-error","subType":"schema","message":"Cannot find preset schema for namespace: “http://www.w3.org/2005/Atom”."}]}
- Lenguaje dominante
- Python
- Estrellas
- 135
- Forks
- 67
- Merge medio
- 2 d 51 min
- PR fusionados (30 d)
- 4
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de w3c/feedvalidator
-
Feed validator crashes with "Memory error" when validating https://www.tidyverse.org/index.xmlAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
w3c/feedvalidator#204 ·
-
bug
Dificultad 3/5 Medio día Aptitud para principiantes 55/100
w3c/feedvalidator#198 ·
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
w3c/feedvalidator#194 · 1 comentario ·
-
403 Error for RSS feed URLAbiertobug
Dificultad 3/5 Medio día Aptitud para principiantes 45/100
w3c/feedvalidator#192 ·
-
Dificultad 3/5 Medio día Aptitud para principiantes 35/100
w3c/feedvalidator#191 ·
Todos los issues de w3c/feedvalidator
Issues similares
-
Ubuntu for Debian DevelopersAbiertoDMB documentation good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
ubuntu/ubuntu-project-docs#921 ·
Los mantenedores suelen responder en 1 día
-
⏳ Pending feedback 🐛 Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
jumpserver/jumpserver#18282 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 76/100
ClickHouse/loom#2014 ·
Los mantenedores suelen responder en 1 día
-
accepted
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
future-agi/future-agi#5274 ·
Los mantenedores suelen responder en 1 día
-
needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 2 días