Re: Another windows CE 4.2 web server bug?
From: John Spaith [MS] (jspaith_at_ONLINE.microsoft.com)
Date: 03/26/04
- Next message: Kevin: "eMbedded 3.0 Installation problem"
- Previous message: Seung Yi: "Re: Virtual file system"
- In reply to: Emil Falcon: "Another windows CE 4.2 web server bug?"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 26 Mar 2004 13:07:12 -0800
Yes, I'm afraid this is a bug in ASP. I apologize for the inconvenience.
This will be fixed for the next release of WindowsCE. In the meantime, the
only workaround I can give you would be to use something like an HTML space
("&nspc;" or something like that) or alternatly a dummy comment "<!-- -->"
right after the "%>" to force the space to be sent across.
-- John Spaith Software Design Engineer, Windows CE Microsoft Corporation Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Let us know! https://www.windowsembeddedeval.com/community/newsgroups This posting is provided "AS IS" with no warranties, and confers no rights. You assume all risk for your use. © 2003 Microsoft Corporation. All rights reserved. "Emil Falcon" <emilfalcon@hotmail.com> wrote in message news:effb7e33.0403251335.35fde450@posting.google.com... > There seems to be yet another problem with the Windows CE 4.2 web > server, or its ASP parser. When using Javascript ASP, the parser seems > to strip all the spaces following a closing asp tag (%>). > > For example, the following code (there should be a space before the > word "SPACE"): > > <%@LANGUAGE="JAVASCRIPT"%> > <% test = "TEST"; %> > <html><body> > <p><% Response.Write(test) %> SPACE</p> > <p><%=test%> SPACE</p> > </body></html> > > yields the following correct HTML source with IIS under Windows XP: > > <html><body> > <p>TEST SPACE</p> > <p>TEST SPACE</p> > </body></html> > > whereas the Windows CE server yields the following incorrect code > (missing spaces): > > <html><body> > <p>TESTSPACE</p> > <p>TESTSPACE</p> > </body></html> > > The problem only seems to manifest itself when something is actually > being output in the ASP snippet preceding the text (i.e. something > like: "<% somevar = 2 %> SPACE" seems to work OK). > > Has anyone else noticed this? > > -- > Emil Falcon
- Next message: Kevin: "eMbedded 3.0 Installation problem"
- Previous message: Seung Yi: "Re: Virtual file system"
- In reply to: Emil Falcon: "Another windows CE 4.2 web server bug?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|