#92 Patch for "incubator/orxutils/xml/testxhtml.rex"

open
nobody
Bug fix (24)
5
2014-08-19
2009-10-13
No
  • The "incubator/orxutils/xml/testxhtml.rex" breaks because of calling a non-existing file.
  • The "incubator/orxutils/xml/testxhtml.rex" breaks because of the old-style handling of the array index, which now is an array object.

----------------------------- cut here --------------------------
Index: incubator/orxutils/xml/testxhtml.rex
===================================================================
--- incubator/orxutils/xml/testxhtml.rex (revision 5253)
+++ incubator/orxutils/xml/testxhtml.rex (working copy)
@@ -48,7 +48,7 @@

nl="0d0a"x -- define CR-LF
-call "xhtml.cls" -- get floating methods from "xhtml.cls"
+call "makexhtml.cls" -- get floating methods from "xhtml.cls"
m=xhtml.methods() -- get directory of floating methods of "xhtml.cls"

-- /* more than two dimensions in array would break appropriate xhtml-method
@@ -96,7 +96,8 @@
do while s~available

   if .array=cl then                   -- an array ?
  • INTERPRET "tmpEl["s~index"]="'"'s~item'"'
  • tmpEl~sendWith("PUT", .array~of(s~item, s~index))
  • -- INTERPRET "tmpEl["s~index"]="'"'s~item'"'

    else if .list=cl then -- a list
    tmpEl~insert(s~item)

Discussion


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks