Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Avro, mail # user - Limitations in enum symbols not mentioned in the spec


Copy link to this message
-
Limitations in enum symbols not mentioned in the spec
Francis Galiegue 2013-02-27, 16:24
Hello,

I have tried to parse this schema:

{
    "name": "gender",
    "type": "enum",
    "symbols": [ "MALE", "FEMALE", "WHO CARES?" ]
}

But the parser complains about an illegal character in the third symbol.

The problem is, nothing in the spec as far as I can see says that the
set of usable code points in a symbol is limited at all...

So, what is this allowed set of code points?

--
Francis Galiegue, [EMAIL PROTECTED]
JSON Schema in Java: http://json-schema-validator.herokuapp.com
+
Francis Galiegue 2013-02-27, 16:27
+
Doug Cutting 2013-02-27, 17:55
+
Francis Galiegue 2013-02-27, 18:12
+
Doug Cutting 2013-02-27, 18:40
+
Francis Galiegue 2013-02-27, 18:43
+
Tatu Saloranta 2013-02-27, 18:53
+
Francis Galiegue 2013-02-27, 19:10
+
Tatu Saloranta 2013-02-28, 06:41
+
Doug Cutting 2013-02-27, 19:00