Some modification (but I did not completely solve the bug).
In particular, error notification is not working now,
because position_iterator does not seem work.
Discovered a bug in the position_iterator of Spirit::classic.
TODO: write a new iterator, or patch the spirit library.