Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
Currently, the Rust SDK allows the following fully qualified names with Name::new.
Name::new("ns.0.record1") Name::new("ns..record1")
But they should be disallowed according to the specification.
https://avro.apache.org/docs/1.11.1/specification/#names
The name portion of the fullname of named types, record field names, and enum symbols must:
start with [A-Za-z_]
subsequently contain only [A-Za-z0-9_]
The null namespace may not be used in a dot-separated sequence of names. So the grammar for a namespace is: <empty> | <name>[(<dot><name>)*]
Attachments
Issue Links
- links to