Here's a test for the Validator:
public void testMappingWithStringInKey() throws Exception {
_schema = "" +
"type: map\n" +
"mapping:\n" +
" 'foo bar':\n" +
" type: str\n";
_valid = "'foo bar': value";
_invalid = "foobar: value";
_error = ":key_undefined : (line 1)[/foobar]...
2009-09-01 17:44:30 UTC in Kwalify