Store source line information in YAML::Node
GoogleCodeExporter opened this issue · 1 comments
GoogleCodeExporter commented
It would be nice if it was possible to tell the precise line/column numbers a
YAML::Node originated from. Source line information is paramount to emit
helpful messages when data validation fails (Ex: certain mandatory key missing
in the certain section inside larger context).
When using Parser with EvenHandler interface source line information is
available. However this method is often less convenient than building and
exploring a tree of Nodes (like SAX vs DOM).
If storing a Mark increases Node memory footprint too much a compile time
option can be used to turn this feature off.
Original issue reported on code.google.com by MeJ...@gmail.com
on 25 Sep 2014 at 2:44
- Merged into: #200
Attachments:
GoogleCodeExporter commented
Original comment by jbe...@gmail.com
on 25 Sep 2014 at 11:24
- Changed state: Duplicate