From 6ecd479d0149249930c531c1566f87cfd69e7c3b Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Wed, 7 Oct 2020 16:19:42 +0200 Subject: [PATCH] schema: nwfiter: Allow leading/trailing whitespace in 'variable-name-type' The reference string parser tolerates some leading/trailing whitespace for the reference strings as witnessed by tests/nwfilterxml2xmlin/iter-test3.xml Allow them in the schema so that the test passes schema validation. Signed-off-by: Peter Krempa Reviewed-by: Michal Privoznik --- docs/schemas/nwfilter.rng | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/schemas/nwfilter.rng b/docs/schemas/nwfilter.rng index 64a607e62f..a75de7ed3e 100644 --- a/docs/schemas/nwfilter.rng +++ b/docs/schemas/nwfilter.rng @@ -725,7 +725,7 @@ - $[a-zA-Z0-9_]+(\[[ ]*[@]?[0-9]+[ ]*\])? + $[ ]*[a-zA-Z0-9_]+(\[[ ]*[@]?[0-9]+[ ]*\])?[ ]*