Ben Walsh created AVRO-1902:
-------------------------------

             Summary: C: namespace "" should mean namespace = NULL
                 Key: AVRO-1902
                 URL: https://issues.apache.org/jira/browse/AVRO-1902
             Project: Avro
          Issue Type: Bug
          Components: c
            Reporter: Ben Walsh
            Priority: Minor


Similar to AVRO-1295. Namespace "" should be the NULL namespace when the schema 
is parsed. For example this breaks:

```
{"type": "record", "name": "R", "fields": [
  {"name": "s", "type": {"type": "record", "namespace": "x", "name": "Y", 
"fields": [
    {"name": "e", "type": {"type": "record", "namespace": "", "name": "Z", 
"fields": [
      {"name": "f", "type": "Z"}
    ]}}
  ]}},
  {"name": "t", "type": "Z"}
]}
```



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to