avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francis Galiegue <fgalie...@gmail.com>
Subject Limitations in enum symbols not mentioned in the spec
Date Wed, 27 Feb 2013 16:24:19 GMT
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, fgaliegue@gmail.com
JSON Schema in Java: http://json-schema-validator.herokuapp.com

Mime
View raw message