Changeset 150 for trunk/lingosource/castlib2/PseudoXMLPS.ls
- Timestamp:
- 02/18/08 06:02:53 (4 years ago)
- File:
-
- 1 edited
-
trunk/lingosource/castlib2/PseudoXMLPS.ls (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lingosource/castlib2/PseudoXMLPS.ls
r74 r150 251 251 end if 252 252 253 if pXmlxtraversion < 10 then return mGetListFromXMLString(me, str, convertValues )253 if pXmlxtraversion < 10 then return mGetListFromXMLString(me, str, convertValues, withParams) 254 254 ------------------ end XML Parser xtra version 10 check 255 255 … … 275 275 if not(voidP(xt.getError())) then 276 276 put "Script: PseudoXMLPS; Handler: mGetListFromXMLStringX; error:" && xt.getError() 277 return [:]277 return mGetListFromXMLString(me, str, convertValues, withParams) 278 278 end if 279 279 280 280 xx = xt.makePropList() 281 li = mConvertXMLPropList(me, [xx], convertValues) 282 283 -- put the milliseconds - ms 281 dontEscapeSpecialChars = 1 -- we do not need to do this, as the xmlparser xtra already did it for us 282 li = mConvertXMLPropList(me, [xx], convertValues, dontEscapeSpecialChars) 283 284 -- put "x" && the milliseconds - ms 284 285 285 286 if not(listP(li)) then return [:] … … 843 844 -- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 844 845 845 on mConvertXMLPropList me, inputlist, convertValues 846 on mConvertXMLPropList me, inputlist, convertValues, dontEscapeSpecialChars 846 847 retlist = [:] 847 848 anz = count(inputlist) … … 860 861 if count(val) then 861 862 if ilk(retlist) = #proplist then 862 retlist.addProp(symbol(inputlist[n].getaprop(#name)), mConvertXMLPropList(me, val, convertValues))863 else864 retlist.add(mConvertXMLPropList(me, val, convertValues ))863 retlist.addProp(symbol(inputlist[n].getaprop(#name)), mConvertXMLPropList(me, val, convertValues, dontEscapeSpecialChars)) 864 else 865 retlist.add(mConvertXMLPropList(me, val, convertValues, dontEscapeSpecialChars)) 865 866 end if 866 867 else … … 882 883 883 884 -- unescape <>&'" 884 val = mUnEscapeSpecialChars(me, val)885 if dontEscapeSpecialChars <> 1 then val = mUnEscapeSpecialChars(me, val) 885 886 886 887 #integer: … … 903 904 904 905 -- unescape <>&'" 905 val = mUnEscapeSpecialChars(me, val)906 if dontEscapeSpecialChars <> 1 then val = mUnEscapeSpecialChars(me, val) 906 907 907 908 else … … 917 918 918 919 -- unescape <>&'" 919 val = mUnEscapeSpecialChars(me, val)920 if dontEscapeSpecialChars <> 1 then val = mUnEscapeSpecialChars(me, val) 920 921 921 922 else … … 927 928 928 929 -- unescape <>&'" 929 val = mUnEscapeSpecialChars(me, val)930 if dontEscapeSpecialChars <> 1 then val = mUnEscapeSpecialChars(me, val) 930 931 931 932
Note: See TracChangeset
for help on using the changeset viewer.
