For apps running in DHTML, in SOLO mode, the web browser's XML parser is very picky about the data source.

The server delivering the data must mark the HTTP content type header as text/xml and it doesn't hurt to have an <?xml ... ?> declaration either, and no whitespace
between the start of the file, the <?xml...?> declaration, and the start of the data.

In a JSP file, I do this at the top, to avoid whitespace. There may be some other way to do it, but anyway there should be some doc notes about this to avoid
frustration when people's apps that work in Flash don't work in DHTML


<%@ page import="java.util.*" %><%@ page import="java.io.*" %><%@ page contentType="text/xml; charset=UTF-8" %><?xml version=' 1.0' encoding='UTF-8' standalone='yes' ?><%@ page import="java.util.*,org.jdom.output.*"%>



--
Henry Minsky
Software Architect
[EMAIL PROTECTED]

_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

Reply via email to