
| Key: |
LPP-3777
|
| Type: |
Bug
|
| Status: |
Resolved
|
| Resolution: |
Fixed
|
| Priority: |
--
|
| Assignee: |
Unassigned
|
| Reporter: |
Henry Minsky
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
OpenLaszlo
Created: 23/Mar/07 07:34 PM
Updated: 08/May/07 10:17 AM
|
|
| Component/s: |
LFC - Data
|
| Affects Version/s: |
4.0.0
|
| Fix Version/s: |
4.0.2
|
|
| Severity: |
Minor
|
| Fixed in Change#: |
4,480
|
| Runtime: |
N/A
|
| Fix in hand: |
False
|
|
cbalon cbalon is offline
Registered User
Join Date: Nov 2006
Posts: 1
Dataset/XPath issue in 4.0 DHTML
Given the following simple program
Code:
<canvas debug="true"> <dataset name="contentData" src="resources/test.xml" request="true"/> <view datapath="contentData:/content/view[@name='000']/state[@name='aaa']"> <text datapath="text[1]/text()" /> </view> </canvas>
and the dataset
Code:
<?xml version="1.0" encoding="UTF-8"?> <content> <view name="000"> <state name="aaa"> <text>blah blah blah</text> </state> </view> </content>
Things work as expected, both in the swf and DHTML versions.
However, if I add some more data
Code:
<?xml version="1.0" encoding="UTF-8"?> <content> <view name="000"> <state name="aaa"> <text>blah blah blah</text> </state> </view> <view name="111"> <state name="aaa"> <text>blah blah blah</text> </state> </view> </content>
The DHTML seems to hang on compile. I just get the "Power by OpenLaszlo" image with the spinny blue thing. swf version continues to work fine.
I came across this issue because I have a 3.3.3 application that I'm trying to run under 4.0.0 DHTML and received a similar error
|
|
Description
|
cbalon cbalon is offline
Registered User
Join Date: Nov 2006
Posts: 1
Dataset/XPath issue in 4.0 DHTML
Given the following simple program
Code:
<canvas debug="true"> <dataset name="contentData" src="resources/test.xml" request="true"/> <view datapath="contentData:/content/view[@name='000']/state[@name='aaa']"> <text datapath="text[1]/text()" /> </view> </canvas>
and the dataset
Code:
<?xml version="1.0" encoding="UTF-8"?> <content> <view name="000"> <state name="aaa"> <text>blah blah blah</text> </state> </view> </content>
Things work as expected, both in the swf and DHTML versions.
However, if I add some more data
Code:
<?xml version="1.0" encoding="UTF-8"?> <content> <view name="000"> <state name="aaa"> <text>blah blah blah</text> </state> </view> <view name="111"> <state name="aaa"> <text>blah blah blah</text> </state> </view> </content>
The DHTML seems to hang on compile. I just get the "Power by OpenLaszlo" image with the spinny blue thing. swf version continues to work fine.
I came across this issue because I have a 3.3.3 application that I'm trying to run under 4.0.0 DHTML and received a similar error |
Show » |
|
function __LZgetNodes $2_p.attributes has no properties