[jira] [Updated] (AVRO-3825) Disallow invalid namespaces

2023-08-09 Thread Kousuke Saruta (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-3825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kousuke Saruta updated AVRO-3825:
-
Description: 
According to the specification, each portion of a namespace separated by dot 
should be [a-zA-Z_][a-zA-Z0-9_].
[https://avro.apache.org/docs/1.11.1/specification/#names]
{code:java}
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_]

A namespace is a dot-separated sequence of such names. The empty string may 
also be used as a namespace to indicate the null namespace. Equality of names 
(including field names and enum symbols) as well as fullnames is case-sensitive.

The null namespace may not be used in a dot-separated sequence of names. So the 
grammar for a namespace is:

   | [()*]

{code}

  was:
According to the specification, each portion of a namespace separated by dot 
should be [a-z,A-Z,_][a-z,A-Z,0-9_].
[https://avro.apache.org/docs/1.11.1/specification/#names]
{code:java}
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_]

A namespace is a dot-separated sequence of such names. The empty string may 
also be used as a namespace to indicate the null namespace. Equality of names 
(including field names and enum symbols) as well as fullnames is case-sensitive.

The null namespace may not be used in a dot-separated sequence of names. So the 
grammar for a namespace is:

   | [()*]

{code}


> Disallow invalid namespaces
> ---
>
> Key: AVRO-3825
> URL: https://issues.apache.org/jira/browse/AVRO-3825
> Project: Apache Avro
>  Issue Type: Bug
>  Components: java
>Affects Versions: 1.12.0
>Reporter: Kousuke Saruta
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> According to the specification, each portion of a namespace separated by dot 
> should be [a-zA-Z_][a-zA-Z0-9_].
> [https://avro.apache.org/docs/1.11.1/specification/#names]
> {code:java}
> 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_]
> A namespace is a dot-separated sequence of such names. The empty string may 
> also be used as a namespace to indicate the null namespace. Equality of names 
> (including field names and enum symbols) as well as fullnames is 
> case-sensitive.
> The null namespace may not be used in a dot-separated sequence of names. So 
> the grammar for a namespace is:
>| [()*]
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (AVRO-3825) Disallow invalid namespaces

2023-08-09 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-3825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated AVRO-3825:
-
Labels: pull-request-available  (was: )

> Disallow invalid namespaces
> ---
>
> Key: AVRO-3825
> URL: https://issues.apache.org/jira/browse/AVRO-3825
> Project: Apache Avro
>  Issue Type: Bug
>  Components: java
>Affects Versions: 1.12.0
>Reporter: Kousuke Saruta
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> According to the specification, each portion of a namespace separated by dot 
> should be [a-z,A-Z,_][a-z,A-Z,0-9_].
> [https://avro.apache.org/docs/1.11.1/specification/#names]
> {code:java}
> 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_]
> A namespace is a dot-separated sequence of such names. The empty string may 
> also be used as a namespace to indicate the null namespace. Equality of names 
> (including field names and enum symbols) as well as fullnames is 
> case-sensitive.
> The null namespace may not be used in a dot-separated sequence of names. So 
> the grammar for a namespace is:
>| [()*]
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (AVRO-3825) Disallow invalid namespaces

2023-08-09 Thread Kousuke Saruta (Jira)


 [ 
https://issues.apache.org/jira/browse/AVRO-3825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kousuke Saruta updated AVRO-3825:
-
Summary: Disallow invalid namespaces  (was: Disallow invalid namespace)

> Disallow invalid namespaces
> ---
>
> Key: AVRO-3825
> URL: https://issues.apache.org/jira/browse/AVRO-3825
> Project: Apache Avro
>  Issue Type: Bug
>  Components: java
>Affects Versions: 1.12.0
>Reporter: Kousuke Saruta
>Priority: Major
>
> According to the specification, each portion of a namespace separated by dot 
> should be [a-z,A-Z,_][a-z,A-Z,0-9_].
> [https://avro.apache.org/docs/1.11.1/specification/#names]
> {code:java}
> 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_]
> A namespace is a dot-separated sequence of such names. The empty string may 
> also be used as a namespace to indicate the null namespace. Equality of names 
> (including field names and enum symbols) as well as fullnames is 
> case-sensitive.
> The null namespace may not be used in a dot-separated sequence of names. So 
> the grammar for a namespace is:
>| [()*]
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)