If the parser stumbles on a comment that look like this: <!-**--**-> it will treat everything thereafter as a comment and continue to look for a --> (at least it seems like that) Shouldn't the parser completly avoid a tag like this since it's not a proper comment? Anyone got a solution how to treat this? /Calle