Nothing obvious jumps out at me, what happens if you immediately call mdlPattern_extractAssociative after calling mdlPattern_addAssociative? Do you get the correct PatternParams? Are there any element->file callback registered that are modifying elements?
↧