Simon, > I applied a quick and dirty hack to prevent this Exception in the case of > Andreas' test file. It will throw away the linebreak though.
There is actually no linebreak to throw away --it's a non-breaking space (A0) not a linefeed (0A), so your 'quick and dirty hack' may just be what we needed. Greetz, Andreas