This routine does not check to see if the space it's trimming is actually part of the node from which it's trimming the space. This results in a situation where node.start is greater than node.end. This causes negative subscript errors in clone() and other bad things. To fix: Change line 326 from: if (text->type == TextNode && lexer->lexbuf[text->start] == ' ') to: if (text->type == TextNode && lexer->lexbug[text->start] == ' ' && text->start < text->end) GaryReceived on Tuesday, 31 October 2000 18:47:09 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:37:48 GMT