xso-proc: validate XML names against rxml_validation::NcName
That way we avoid a fallible conversion at runtime.
This commit is contained in:
parent
bc785fde28
commit
1611c5fba9
4 changed files with 65 additions and 17 deletions
|
|
@ -18,6 +18,7 @@ proc-macro = true
|
|||
quote = "^1"
|
||||
syn = { version = "^2", features = ["full", "extra-traits"] }
|
||||
proc-macro2 = "^1"
|
||||
rxml_validation = { version = "0.11.0", default-features = false, features = ["std"] }
|
||||
|
||||
[features]
|
||||
panicking-into-impl = ["minidom"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue