Page MenuHomeVyOS Platform

vyos-1x should generate XML cache after building command templates for less cryptic error on typo
Closed, ResolvedPublicBUG

Description

The script build-command-templates checks syntax against the RELAX-NG schema, and should be called before generate_cache.py for a slightly less cryptic error message:

build/interface-definitions/xml-component-version.xml:1:0:ERROR:RELAXNGV:RELAXNG_ERR_TEXTWRONG: Did not expect text in element interfaceDefinition content

compared to

Load_error 'PCData not allowed here'

the latter from the package xml-light.

Details

Difficulty level
Easy (less than an hour)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

jestabro triaged this task as Normal priority.Oct 12 2023, 1:37 PM
jestabro created this task.
jestabro created this object in space S1 VyOS Public.
jestabro moved this task from Need Triage to Finished on the VyOS 1.5 Circinus board.
jestabro moved this task from Need Triage to Finished on the VyOS 1.4 Sagitta board.