openframeworks / openframeworks/openFrameworks
ofXml addChild doesn't add a child but reports success
Open
@joshuajnoble is already working on this.
Since Feb 13, 2015.
addon
bug
waiting-for-feedback
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 9
Description
ofXml xml;
if (xml.addChild("top"))
{
int numChild = xml.getNumChildren();
// numChild == 0
}
ofXml::addChild() needs to check element is set before doing anything.
OF HEAD and 0.8.4, OS X 10.10, Xcode
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.