Thanks, Jens I have come across that one before, that could be it. I really must start making a note of these things, since they don't seem to stay in my head for any length of time. <Tip> If you work with a number of technologies and languages, or like me, you just can't keep that much info in your head ;) - start a "Little Book of Common Problems and Solutions" - it'll save you a lot of head-scratching/hair-tearing/banging-of-head-against-desk when you next come across the problem. </Tip> ----- Original Message ----- From: "Åhman Jens" Subject: RE: [thelist] WAP gateway issues Sometimes it can be a problem with whitespace/blanklines in the beginning of the WML Document. You always start with a DTD- Declaration similar to this; Example; <?xml version="1.0"?> <!DOCTYPE wml PUBLIC "-//PHONE.COM//DTD WML 1.1//EN" "http://www.phone.com/dtd/wml11.dtd" > In some gateways you cant have whitespace or a blank line before the DTD declaration.