raml-org/raml-java-parser

Invalid characters fails with unexpected error

jpbelang opened this issue · 1 comments

Unprintable characters raise an exception and is not caught as an error

This fails:

#%RAML 1.0

# JS parser should show an error like:
#               {�error� : "no street or locality provided.�}
# JS-YAML: the stream contains non-printable characters at line 1, column 1 at (1, 1)
# Missing required property 'title' at (1, 10)

title: Address Matching API
version: V1
baseUri: http://some-place.org/api