(This is primarily directed at bulia who seems to have written a lot of use code, and maybe Richard who knows a lot about text...)

I've been trying to finish off this tref code so I can move on to bigger and more important things, but there is a lingering issue that I haven't been able to kick.  As it turns out, it is a similar issue that can be seen with use elements, so fixing it should kill two birds with one stone.

To recreate the problem with use in a clean SVN build, do the following:
I've been looking into text code but haven't been able to pinpoint the problem yet.  It could have something to do with compensation happening twice when the clone is in a text node.

I was just hoping to get some fresh new ideas to help sort out the problem, or ideas on where exactly to look.

Thanks in advance :)

Gail