<?php
header("Content-type: application/xml");
...
should work
On Fri, Sep 17, 2010 at 3:58 PM, Henry Minsky <[email protected]> wrote:
> One more thing, if you're using DHTML runtime in solo mode, the browser may
> require that your server send the proper mime type in the HTTP response,
> e.g., xml/data or something like that. I'm not sure about XML, I do know
> that some browsers care about
> the mime type for java script includes.
>
> On Fri, Sep 17, 2010 at 9:02 AM, Gireesh Subramaniam <[email protected]>
> wrote:
>>
>> Hi ,
>> I tried your first suggestion and upgraded to 4.8.1 and think I have
>> cornered the issue.
>> I use php code to interact with database backend.My application passes the
>> data from the backend to the OL via XML in the following format
>> <table>
>> <admin admin msg = "....."
>> user id=
>> user_level id
>> etc >
>> Now ,both flash and DHTML solo runtimes do not work for me.
>> On seeing the error code returned by the OnError function of the datapath
>> ,I see that the error is
>>
>> 'client could not parse xml from server'
>> The same application works for Proxied deployment on both OL 4.7.1 and OL
>> 4.8.1 ,seems to me that in the solo runtime of both OL 4.7.1 and OL 4.8.1,
>> the XML parser does some strict type-checking or is there any other known
>> issues related to this ?
>> Can anyone help me on this ?
>> On Thu, Sep 16, 2010 at 6:57 PM, P T Withington <[email protected]> wrote:
>>>
>>> Suggestions:
>>>
>>> 1) Update to 4.8
>>>
>>> 2) Turn on debugging and backtracing, see if you can generate a bug
>>> report.
>>>
>>> (See http://www.openlaszlo.org/misc/OpenLaszloView021210.pdf)
>>>
>>> On 2010-09-16, at 08:55, Gireesh Subramaniam wrote:
>>>
>>> > All,
>>> >
>>> > I am encountering this error when i run DHTML run time on OL 4.7.1.
>>> >
>>> > This error is not encountered on compiling but i see it on the Error
>>> > console
>>> > of my browser when i try to run the DHTML application.
>>> >
>>> > Hence DHTML application does not start
>>> >
>>> >
>>> > *Error: this.vip.subviews is undefined*
>>> > *Source File:
>>> > http://localhost:8084/DHTMLApp/lps/includes/lfc/LFCdhtml.js*
>>> > *Line: 5110*
>>> > *
>>> > *
>>> > Can someone help me understand if it is a known bug ?
>>> >
>>> > Thanks,
>>> > Gireesh
>>>
>>
>
>
>
> --
> Henry Minsky
> Software Architect
> [email protected]
>
>
>