Validation-plus: advise "@xml:id" and "@label" on divisions
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 45/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Tranquilo
- Stack tecnológico
- xml
- Área
- tooling
Línea de trabajo
The check belongs in pretext-validation-plus.xsl; read how its existing context-dependent checks are written, and read #1061 and #2991 for background on why Schematron was retired. Add an advisory message for division elements that lack xml:id or label, keeping the wording non-authoritative as the issue asks. Done when a sample document with an unlabelled, unidentified division produces the message and one with both attributes does not.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Carried forward from #1061, which requested this as a Schematron warning; Schematron was retired in #2991, and pretext-validation-plus.xsl is now the home for context-dependent checks.
The check: an advisory message when a division lacks @xml:id (and now @label). Automatic identifiers are unstable across edits, and stable identifiers matter more than ever: cross-references, visible URLs, and Runestone database keys all lean on them, and current authoring guidance asks for both attributes, with matching values, on every division.
Original caveat, retained: the check cannot know the chunk level a publisher will elect, so the message should stay advisory rather than authoritative about which divisions matter.
Claude Fable 5, acting as a coding assistant for Rob Beezer
- Lenguaje dominante
- XSLT
- Estrellas
- 466
- Forks
- 251
- Merge medio
- 4 min
- PR fusionados (30 d)
- 13
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
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 PreTeXtBook/pretext
-
The print preview leaves writing space short by the margins of hidden headers, footers and solutionsAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
PreTeXtBook/pretext#3329 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 82/100
PreTeXtBook/pretext#3305 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
PreTeXtBook/pretext#3297 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
PreTeXtBook/pretext#3285 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
PreTeXtBook/pretext#3283 ·
Los mantenedores suelen responder en 1 día
Todos los issues de PreTeXtBook/pretext
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
ScoopInstaller/Extras#19404 ·
Los mantenedores suelen responder en 1 día
-
area: batch
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
inabagumi/shinju-date#7294 ·
Los mantenedores suelen responder en 1 día
-
documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
streaming-video-technology-alliance/common-media-library#700 ·
Los mantenedores suelen responder en 1 día
-
bot:ai-assisted component:platform-js status:untriaged
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
midnightntwrk/platform-js#35 ·
-
could-have
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100