Problem in yml parser (Bug #4356)


Added by Laurent Berger almost 10 years ago. Updated over 9 years ago.


Status:New Start date:2015-05-22
Priority:Normal Due date:
Assignee:Vadim Pisarevsky % Done:

0%

Category:core
Target version:3.0
Affected version:branch 'master' (3.0-dev) Operating System:Windows
Difficulty:Medium HW Platform:x64
Pull request:

Description

I can write and read file in with xml extension using FileStorage. In the same program if i change file extension in yml I cannot read data. Excepetion occur :
OpenCV Error: Parsing error (test.yml(4): Incorrect indentation) in icvYMLParseValue, file ..\..\..\modules\core\src\persistence.cpp
, line 1327

this problem does not exist with xml file.


B.zip (1.6 kB) Laurent Berger, 2015-05-22 06:20 pm


History

Updated by Philipp Hasper almost 10 years ago

I am not sure if I understand you correctly:

if i change file extension in yml

Do you mean that you change the extension of your xml file to yml? That won't work. Could you attach a sample .yml file which your program cannot read?

Updated by Maksim Shabunin over 9 years ago

Issue has been transferred to GitHub: https://github.com/Itseez/opencv/issues/4996

Also available in: Atom PDF