diff --git a/src/libCStreamedXML/types.h b/src/libCStreamedXML/types.h index 90cc865..16a6ced 100644 --- a/src/libCStreamedXML/types.h +++ b/src/libCStreamedXML/types.h @@ -244,7 +244,7 @@ struct csxml { const char* elemName = ctx->elemAttrNames.data[i].data; // get attribute value - const char* elemValue = ctx->elemAttrValues.data[i].data; + const char* elemValue = ctx->elemAttrVals.data[i].data; In the case of an empty element, the closeTag() callback will be called immediately afterwards.