On Jun 3, 2008, at 15:30, Jeremias Maerki wrote:

On 03.06.2008 15:22:04 Martin Edge wrote:
Hm... I'm editing the Intermediate file directly.. but It's possible I
suppose it applies to that as well..

Will give stripping it entirely of spaces.. if that's the solution,
shouldn't we add logic to clean it of spaces before attempting a PCL
conversion?

As Andreas noted, it might be a good idea to fix the
whitespace-collection behaviour. Remains the question of who's doing it.

I'll look into it. It doesn't seem to be too complicated at first glance. Moving the buffer-reset from endElement() to startElement() would already help, but I'd consider that a stop-gap measure. The better option would probably be to ignore the characters() event, unless the current node is either a 'word' or a 'space' (or 'char', but that one is deprecated). AFAICT, these are the only area types that can contain bare character data.


Cheers

Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to