Maybe a bug mxml-4.0.2/mxml-set.c lines 266 and 269
lbinic opened this issue · 2 comments
lbinic commented
266 if (node && node->type == MXML_TYPE_ELEMENT && node->child && node->child->type == MXML_TYPE_COMMENT)
267 node = node->child;
268
269 if (!node || node->type != MXML_TYPE_COMMENT)
We are in mxmlSetDeclarationf(), so probably it is MXML_TYPE_DECLARATION instead of MXML_TYPE_COMMENT.
michaelrsweet commented
Whoops, yes that needs to be fixed.
michaelrsweet commented