- fixed small bugs in parsing process
- added filePath to the error output, to simplify mark-up debugging