--- parser3/www/htdocs/Attic/index.html 2002/08/28 11:02:59 1.125 +++ parser3/www/htdocs/Attic/index.html 2002/09/10 10:22:13 1.132 @@ -5,9 +5,10 @@ $selffilespec[$filespec] #$form:here #$request:charset[UTF-8] -#$response:charset[windows-1251] -#$request:charset[windows-1251] +$request:charset[windows-1251] +$response:charset[windows-1251] #$response:charset[UTF-8] +#$response:charset[empty] #$response:content-type[$.value[text/html]$.charset[$response:charset]] #@postprocess[body] @@ -19,7 +20,7 @@ $selffilespec[$filespec] #^a.format[%.10u] #$result[111] #^f[a] -#^connect[mysql://mdm:4b833ljq@db-mysql/mdm]{ +^connect[mysql://mdm:4b833ljq@db-mysql/mdm]{ # ^int:sql{select news_id from news where news_id=-1}[ ## $.default{2} # ]
@@ -30,8 +31,11 @@ $selffilespec[$filespec] # ^process{ ^^h[]} # ^process{^string:sql{select '1 # ^^hello[]' }] } -# ^double:sql{select '2*' ; } -#} +# ^double:sql{select '2*' ^; } +$card_sequence_expect_no(^double:sql{select 20020909131047 #card_sequence_expect_no from card_sequence}) +^card_sequence_expect_no.format[%15.f] + +} #^eval(2) #^tcrashlocaljunctionsv2[] #^tcrashlocaljunctions[] @@ -196,7 +200,6 @@ $selffilespec[$filespec] #^tstdin[] #^tfind[] #^mimet[] -#^cgit[] #^joinlimit[] #^tableclonelimit[] #^transparams[] @@ -223,12 +226,50 @@ $selffilespec[$filespec] #^badcolumntest[] #^delimiters[] #^новый-split[] -^грязные-cookie[] +#^грязные-cookie[] +#^html-почта[] +#^badswitchtest[] +#^okswitchtest[] +#^cgit[] +#^ttransformsep[]
OK + +@ttransformsep[] +$input[^xdoc::load[20020909131046.xml]] +$output[^input.transform[generated.xsl]] +^output.string[] + +@okswitchtest[] +$local[local value] +^switch[1]{ + ^case[1]{1code $local} +} + +@badswitchtest[] +^switch[1]{ + ^badswitchtestcase[] +} +@badswitchtestcase[][local] +$local[local value] + ^case[1]{1code $local} + +@badjunction[] +^badj1[] +^badj2[] + +@html-почта[] +$переменная[значение] +^mail:send[ + $.from[paf@mail] + $.to[paf@mail] + $.subject[htmltest1] + $.html{тест$переменная= !} +] + @грязные-cookie[] -$cookie:a[$.value[3]] +$cookie:a[&] $cookie:a @новый-split[]