[ 
https://issues.apache.org/jira/browse/AVRO-255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12790882#action_12790882
 ] 

Doug Cutting commented on AVRO-255:
-----------------------------------

> your test doesn't use the fact that the schema "x" has a field "f".

The test means to check that the text '{"type": "record", "name": "X", 
"fields": []}' can be embedded twice in a single schema and inherit different 
namespaces and hence define different records.  The fields are otherwise not of 
interest.  Does that make sense?

> schema namespace should be lexically scoped
> -------------------------------------------
>
>                 Key: AVRO-255
>                 URL: https://issues.apache.org/jira/browse/AVRO-255
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>             Fix For: 1.3.0
>
>         Attachments: AVRO-255.patch
>
>
> If a nested schema specifies a different namespace, then schemas nested 
> within it should inherit that namespace rather than the top-level namespace.  
> This permits textual inclusion of schemas within schemas.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to