[Laszlo-dev] For Review: Change 20090309-bargull-SSE Summary: DHTML: handle invalid xml-files

André Bargull andre.bargull at udo.edu
Mon Mar 9 12:51:51 PDT 2009


Change 20090309-bargull-SSE by bargull at dell--p4--2-53 on 2009-03-09 20:14:50
in /home/Admin/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: DHTML: handle invalid xml-files

New Features:

Bugs Fixed: LPP-7884 (DHTML: xml-parse errors don't send onerror-event)

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

Documentation:

Release Notes:

Details:
LzXMLParser:
- added "getParserError()" to retrieve parser-error information from 
xml-document

LzHTTPLoader:
- wrap calls to XMLHttpRequest#open() and XMLHttpRequest#send() in 
try..catch to catch crossdomain exception
- handle parser-errors in "translateXML()"


Tests:
testcase from bugreport (FF3, Saf3, Opera9, IE6)
alldata (FF3)

Files:
M WEB-INF/lps/lfc/kernel/dhtml/LzHTTPLoader.js
M WEB-INF/lps/lfc/kernel/dhtml/LzXMLParser.js

Changeset: 
http://svn.openlaszlo.org/openlaszlo/patches/20090309-bargull-SSE.tar



More information about the Laszlo-dev mailing list