Hi everyone,
Just a post to report a problem I had with juce_XML
inJuce_XmlElement.h
on line 54
there is a macro :
#define forEachXmlChildElement(parentXmlElement, childElementVariableName) \
\
for (XmlElement* childElementVariableName = (parentXmlElement).getFirstChildElement(); \
childElementVariableName != 0; \
childElementVariableName = childElementVariableName->getNextElement())
The problem is XmlElement (because of the namespace), so you should change for :
#define forEachXmlChildElement(parentXmlElement, childElementVariableName) \
\
for (JUCE_NAMESPACE::XmlElement* childElementVariableName = (parentXmlElement).getFirstChildElement(); \
childElementVariableName != 0; \
childElementVariableName = childElementVariableName->getNextElement())
Best regards.