[Laszlo-dev] For Review: Change 20080916-bargull-UDy Summary: xml attribute order

André Bargull andre.bargull at udo.edu
Tue Sep 16 05:43:05 PDT 2008


Change 20080916-bargull-UDy by bargull at dell--p4--2-53 on 2008-09-16 14:31:15
in /home/Admin/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: xml attribute order

New Features:

Bugs Fixed: LPP-3379

Technical Reviewer: hminsky
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:
Both, dhtml and swf9, preserve the xml-attribute order. But for swf8 and 
a compiled-in dataset resp. a http-dataset with nsprefix=false, the 
xml-attribute order is reversed. This happens because flash iterates 
over an object in reversed insertion order. But if we insert every 
xml-attribute also in reversed order, both reversions nullify each other 
and people will stop complaining about this issue.
Additionally, I've copied the "fast-path" attribute copy code from the 
iterative xml-copy version to the recursive one.



Tests:
alldata passes
testcase at bugreport

Files:
M WEB-INF/lps/lfc/kernel/swf/LzLoader.lzs

Changeset: 
http://svn.openlaszlo.org/openlaszlo/patches/20080916-bargull-UDy.tar




More information about the Laszlo-dev mailing list