Fixed issue #1, cache data do not reset for each separate document.

The issue was located within the parser that only resetted the values
on each instansiation, not each execution.