1 | initial version |
I finally figured this out. If you improperly code your XML file so that it has multiple nodes with the same name, as soon as you try and open that file (not even reading anything from it) you will immediately get an error.
The error is "duplicate key."
Once I corrected this, everything worked correctly.
2 | No.2 Revision |
I finally figured this out. If you improperly code your XML file so that it has multiple nodes with the same name, as soon as you try and open that file (not even reading anything from it) you will immediately get an error.
The error is "duplicate key."
key." Once I corrected this, everything worked correctly.
Also, my catch statement was not specific to OpenCV and thus was not finding this error. Once, I fixed the catch statement, I got the correct error report and that led me to figure out that the XML file was coded incorrectly.