Closed GoogleCodeExporter closed 9 years ago
Short answer: no it is not possible at the moment.
Long answer: this is indeed an issue. Unfortunately the YAML specification
requires that content of the comments is excluded from the further processing.
SnakeYAML simply follows the specification. I would recommend you to raise a
question in the YAML list to give the spec authors an indication that keeping
comments may be important. You may also get a reply why this is done like this
now. Once there is an agreement how to treat the comments SnakeYAML can
implement them in its parser.
(Please indicate whether the answer is sufficient to close the issue)
-
Andrey
Original comment by py4fun@gmail.com
on 8 Jul 2010 at 2:40
[deleted comment]
Original comment by py4fun@gmail.com
on 9 Jul 2010 at 10:15
Thanks for the answer.
It seems quite clear, will move the answer to the YAML list.
Regards.
Original comment by ErD...@gmail.com
on 9 Jul 2010 at 11:39
Original issue reported on code.google.com by
ErD...@gmail.com
on 8 Jul 2010 at 10:40