instant-labs / instant-xml

11 stars 3 forks source link

Namespace prefixes should be NCName #54

Closed nrempel closed 3 months ago

nrempel commented 3 months ago

I was playing with this crate and came across an issue parsing namespace prefixes that contain -. Currently, it's not possible but according to the spec, the prefix should be an NCName which allows dashes.

repro: https://github.com/instant-labs/instant-xml/commit/11702ec4bbb6e0d1167217cb346de39ec2a04e70