Which states that symbols beginning with +, must continue with a non-digit.
Currently we catch this for namespace-less symbols and for prefixes of symbols but don't catch it if the symbol has a legal prefix, but the name itself violates this rule.
This test should pass (by having scan throw an exception):
@Test(expected=EdnException.class)
public void symbolNameStartsWithPlusDigit() {
scan("foo/+4blah");
}
See https://github.com/edn-format/edn#symbols
Which states that symbols beginning with
+
, must continue with a non-digit.Currently we catch this for namespace-less symbols and for prefixes of symbols but don't catch it if the symbol has a legal prefix, but the name itself violates this rule.
This test should pass (by having scan throw an exception):
Currently this test fails.