--- parser3/tests/results/152.processed 2007/02/12 11:23:01 1.6 +++ parser3/tests/results/152.processed 2010/10/12 21:44:47 1.10 @@ -1,17 +1,22 @@ -content-type: text/html -content-length: 7362 +Content-Type: text/html +Content-Length: 7975

Defines

$sEmpty[]
$sZero[0]
$sOne[1]
-$sTwo[2]

+$sTwo[2]
+$sTrue[true]
+$sFalse[false]
+
$dZero(0.0)
$dOne(1.1)
-$dTwo(2.2)

+$dTwo(2.2)
+
$iZero(^dZero.int[])
$iOne(^dOne.int[])
-$iTwo(^dTwo.int[])

+$iTwo(^dTwo.int[])
+
$bTrue(1==1)
$bFalse(1==0)

$dtDate[^date::create(2007;01;02;03;04;05)]
@@ -29,7 +34,7 @@ $hHash[
$fFile[^file::load[text;152.html]]
$fStat[^file::stat[152.html]]

$fImage[^image::measure[103paf2001.gif]]

-$xDoc[^xdoc::create{}]
+$xDoc[^xdoc::create{<?xml version="1.0"?><root><t/><t/><t/></root>}]
$h[^xDoc.select[/root/t]]
$xNode[$h.0]

@@ -44,10 +49,8 @@ $xNode[$h.0]
$vVoid void -no
- -false
- +no
+false
no no no @@ -63,10 +66,8 @@ $xNode[$h.0]
$bFalse bool -yes
- -false
- +yes
+false
yes no no @@ -82,10 +83,8 @@ $xNode[$h.0]
$bTrue bool -yes
- -true
- +yes
+true
yes no no @@ -100,11 +99,9 @@ $xNode[$h.0]
$sEmpty -void -no
- -false
- +string +no
+false
no yes no @@ -120,10 +117,8 @@ $xNode[$h.0]
$sZero string -yes
- -false
- +yes
+false
no yes no @@ -139,10 +134,8 @@ $xNode[$h.0]
$sOne string -yes
- -true
- +yes
+true
no yes no @@ -158,10 +151,42 @@ $xNode[$h.0]
$sTwo string -yes
- -true
- +yes
+true
+no +yes +no +no +no +no +no +no +no +no +no + + +$sTrue +string +yes
+-- +no +yes +no +no +no +no +no +no +no +no +no + + +$sFalse +string +yes
+-- no yes no @@ -177,10 +202,8 @@ $xNode[$h.0]
$dZero double -yes
- -false
- +yes
+false
no no yes @@ -196,10 +219,8 @@ $xNode[$h.0]
$dOne double -yes
- -true
- +yes
+true
no no yes @@ -215,10 +236,8 @@ $xNode[$h.0]
$dTwo double -yes
- -true
- +yes
+true
no no yes @@ -234,10 +253,8 @@ $xNode[$h.0]
$iZero int -yes
- -false
- +yes
+false
no no no @@ -253,10 +270,8 @@ $xNode[$h.0]
$iOne int -yes
- -true
- +yes
+true
no no no @@ -272,10 +287,8 @@ $xNode[$h.0]
$iTwo int -yes
- -true
- +yes
+true
no no no @@ -291,10 +304,8 @@ $xNode[$h.0]
$tEmptyTable table -no
- -false
- +no
+false
no no no @@ -310,10 +321,8 @@ $xNode[$h.0]
$tTable table -yes
- -true
- +yes
+true
no no no @@ -329,10 +338,8 @@ $xNode[$h.0]
$hEmptyHash hash -no
- -false
- +no
+false
no no no @@ -348,10 +355,8 @@ $xNode[$h.0]
$hHash hash -yes
- -true
- +yes
+true
no no no @@ -367,10 +372,8 @@ $xNode[$h.0]
$fFile file -yes
- -true
- +yes
+true
no no no @@ -386,10 +389,8 @@ $xNode[$h.0]
$fStat file -yes
- -true
- +yes
+true
no no no @@ -405,10 +406,8 @@ $xNode[$h.0]
$fImage image -yes
- -true
- +yes
+true
no no no @@ -424,10 +423,8 @@ $xNode[$h.0]
$dtDate date -yes
- -true
- +yes
+true
no no no @@ -443,10 +440,8 @@ $xNode[$h.0]
$xDoc xdoc -yes
- -true
- +yes
+true
no no no @@ -462,10 +457,8 @@ $xNode[$h.0]
$xNode xnode -yes
- -true
- +yes
+true
no no no @@ -494,6 +487,10 @@ $xNode[$h.0]
^sOne.bool(false): true
^sTwo.bool(true): true
^sTwo.bool(false): true
+^sTrue.bool(true): true
+^sTrue.bool(false): true
+^sFalse.bool(true): false
+^sFalse.bool(false): false

bool methods for double

^dZero.bool(true): false
^dZero.bool(false): false
@@ -507,4 +504,4 @@ $xNode[$h.0]
^iOne.bool(true): true
^iOne.bool(false): true
^iTwo.bool(true): true
-^iTwo.bool(false): true
+^iTwo.bool(false): true
\ No newline at end of file