Annotation of parser3/tests/175.html, revision 1.1

1.1     ! misha       1: @main[][d;n;sEmpty;sSpace]
        !             2: $d(65321.3)
        !             3: $n(-$d)
        !             4: $sEmpty[]
        !             5: $sSpace[ ]
        !             6: 
        !             7: <table border="1">
        !             8: 
        !             9: # not specified format strings
        !            10: ^TR[w/o param;^try_code{^d.format[]}]
        !            11: 
        !            12: # format strings contains whitespaces only
        !            13: ^format[$d;$sEmpty]
        !            14: ^format[$d;$sSpace]
        !            15: 
        !            16: # invalid format string
        !            17: ^format[$d;%K]
        !            18: ^format[$d;%]
        !            19: ^format[$d;%%]
        !            20: 
        !            21: # banned format string
        !            22: ^format[$d;%n]
        !            23: ^format[$d;%s]
        !            24: ^format[$d;%z]
        !            25: 
        !            26: # int/uint
        !            27: ^format[$d;%d]
        !            28: ^format[$d;%u]
        !            29: ^format[$d;%o]
        !            30: ^format[$d;%x]
        !            31: ^format[$d;%X]
        !            32: 
        !            33: # float
        !            34: ^format[$d;%f]
        !            35: ^format[$d;%e]
        !            36: ^format[$d;%E]
        !            37: ^format[$d;%g]
        !            38: ^format[$d;%G]
        !            39: 
        !            40: # flags, width, precision
        !            41: ^format[$d;%d]
        !            42: ^format[$d;%0d]
        !            43: ^format[$d;%10d]
        !            44: ^format[$d;%010d]
        !            45: 
        !            46: ^format[$d;%f]
        !            47: ^format[$d;%.f]
        !            48: ^format[$d;%.0f]
        !            49: ^format[$d;%.02f]
        !            50: ^format[$d;%9.03f]
        !            51: ^format[$d;%+9.03f]
        !            52: ^format[$n;%+9.03f]
        !            53: ^format[$d;% 9.03f]
        !            54: ^format[$n;% 9.03f]
        !            55: ^format[$d;%0#10x]
        !            56: ^format[$d;%+#10X]
        !            57: ^format[$d;%-10d]
        !            58: ^format[$d;%0#o]
        !            59: ^format[$d;%0#d]
        !            60: ^format[$d;%#g]
        !            61: ^format[$d;%#e]
        !            62: 
        !            63: # flags in wrong place
        !            64: ^format[$d;%1+9.03f]
        !            65: 
        !            66: ^format[$d;%99d]
        !            67: 
        !            68: # more then 1 dot as precision flag
        !            69: ^format[$d;%9..03f]
        !            70: ^format[$d;%9.1.03f]
        !            71: 
        !            72: # invalid because contains something at the ends
        !            73: ^format[$d;%d=]
        !            74: ^format[$d;=%d]
        !            75: 
        !            76: </table>
        !            77: 
        !            78: 
        !            79: 
        !            80: @TR[sTD1;sTD2]
        !            81: <tr>
        !            82: <td>$sTD1</td>
        !            83: <td>$sTD2</td>
        !            84: </tr>
        !            85: 
        !            86: 
        !            87: 
        !            88: 
        !            89: @format[d;sFormat][s]
        !            90: ^TR[^if(def $sFormat && def ^sFormat.trim[]){$sFormat}{'$sFormat'};^try_code{$s[^d.format[$sFormat]]'^taint[html][^s.match[\+00][]{+0}]'}]
        !            91: 
        !            92: 
        !            93: 
        !            94: @try_code[jCode]
        !            95: ^try{
        !            96:        $jCode
        !            97: }{
        !            98:        $exception.handled(1)
        !            99:        $exception.comment
        !           100: }
        !           101: <br />

E-mail: