ianprime0509 / zig-xml

XML parser for Zig
http://ianjohnson.dev/zig-xml/
BSD Zero Clause License
14 stars 3 forks source link

Stricter validation of XML declaration in `Scanner` #6

Closed ianprime0509 closed 1 year ago

ianprime0509 commented 1 year ago

The version, encoding, and standalone values all have stricter content constraints than what Scanner is currently enforcing. We should do a better job at validating these (and standalone could be represented as ?bool in the resulting token).