History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: LPP-3777
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: -- --
Assignee: Unassigned
Reporter: Henry Minsky
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OpenLaszlo

Bug in DHTML datapath processing: function __LZgetNodes $2_p.attributes has no properties

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

Time Tracking:
Not Specified

Severity: Minor
Fixed in Change#: 4,480
Runtime: N/A
Fix in hand: False


 Description  « Hide
 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

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Henry Minsky - 23/Mar/07 07:34 PM
Bug is in

function __LZgetNodes $2_p.attributes has no properties