gecko-dev/htmlparser/tests/logparse/test5.bl
1998-08-23 20:21:58 +00:00

970 lines
30 KiB
Plaintext

<begin>
<open container="HTML">
<open container="STYLE">
<leaf tag="STYLE">
<attr key="
SPAN.peter { font-family: "monospace"; }
SPAN.seven { font-size: xx-large; }
SPAN.six { font-size: x-large; }
SPAN.five { font-size: large; }
SPAN.four { font-size: medium; }
SPAN.three { font-size: small; }
SPAN.two { font-size: x-small; }
SPAN.one { font-size: xx-small; }
/*H1, H2, H3, H4, H5, H6 { font-weight: normal; }*/
" value="</style>"/>
<content value="&#10;SPAN.peter { font-family: &quot;monospace&quot;; }&#10;SPAN.seven { font-size: xx-large; }&#10;SPAN.six { font-size: x-large; }&#10;SPAN.five { font-size: large; }&#10;SPAN.four { font-size: medium; }&#10;SPAN.three { font-size: small; }&#10;SPAN.two { font-size: x-small; }&#10;SPAN.one { font-size: xx-small; }&#10;/*H1, H2, H3, H4, H5, H6 { font-weight: normal; }*/&#10;"/>
</leaf>
<close container="head">
<open container="BODY">
<attr key="text" value="#00FF00"/>
</open>
<newline/>
<newline/>
<open container="FONT">
<attr key="size" value="5"/>
</open>
<text value="this is size five"/>
<newline/>
<open container="FONT">
<attr key="point-size" value="12"/>
</open>
<text value="this is point-size 12"/>
<newline/>
<open container="FONT">
<attr key="size" value="7"/>
</open>
<text value="this is size seven"/>
<newline/>
<close container="FONT">
<newline/>
<close container="FONT">
<newline/>
<close container="FONT">
<newline/>
<newline/>
<open container="B">
<open container="FONT">
<attr key="size" value="7"/>
</open>
<text value="heading"/>
<open container="FONT">
<attr key="size" value="7"/>
</open>
<text value="heading"/>
<close container="FONT">
<open container="SPAN">
<attr key="class" value="seven"/>
</open>
<text value="heading"/>
<close container="SPAN">
<open container="SMALL">
<text value="heading"/>
<close container="SMALL">
<open container="BIG">
<text value="heading"/>
<close container="BIG">
<close container="FONT">
<close container="B">
<newline/>
<open container="H1">
<text value="heading"/>
<open container="FONT">
<attr key="size" value="6"/>
</open>
<text value="heading"/>
<close container="FONT">
<open container="SPAN">
<attr key="class" value="six"/>
</open>
<text value="heading"/>
<close container="SPAN">
<open container="SMALL">
<text value="heading"/>
<close container="SMALL">
<open container="BIG">
<text value="heading"/>
<close container="BIG">
<close container="H1">
<newline/>
<open container="H2">
<text value="heading"/>
<open container="FONT">
<attr key="size" value="5"/>
</open>
<text value="heading"/>
<close container="FONT">
<open container="SPAN">
<attr key="class" value="five"/>
</open>
<text value="heading"/>
<close container="SPAN">
<open container="SMALL">
<text value="heading"/>
<close container="SMALL">
<open container="BIG">
<text value="heading"/>
<close container="BIG">
<close container="H2">
<newline/>
<open container="H3">
<text value="heading"/>
<open container="FONT">
<attr key="size" value="4"/>
</open>
<text value="heading"/>
<close container="FONT">
<open container="SPAN">
<attr key="class" value="four"/>
</open>
<text value="heading"/>
<close container="SPAN">
<open container="SMALL">
<text value="heading"/>
<close container="SMALL">
<open container="BIG">
<text value="heading"/>
<close container="BIG">
<close container="H3">
<newline/>
<open container="H4">
<text value="heading"/>
<open container="FONT">
<attr key="size" value="3"/>
</open>
<text value="heading"/>
<close container="FONT">
<open container="SPAN">
<attr key="class" value="three"/>
</open>
<text value="heading"/>
<close container="SPAN">
<open container="SMALL">
<text value="heading"/>
<close container="SMALL">
<open container="BIG">
<text value="heading"/>
<close container="BIG">
<close container="H4">
<newline/>
<open container="H5">
<text value="heading"/>
<open container="FONT">
<attr key="size" value="2"/>
</open>
<text value="heading"/>
<close container="FONT">
<open container="SPAN">
<attr key="class" value="two"/>
</open>
<text value="heading"/>
<close container="SPAN">
<open container="SMALL">
<text value="heading"/>
<close container="SMALL">
<open container="BIG">
<text value="heading"/>
<close container="BIG">
<close container="H5">
<newline/>
<open container="H6">
<text value="heading"/>
<open container="FONT">
<attr key="size" value="1"/>
</open>
<text value="heading"/>
<close container="FONT">
<open container="SPAN">
<attr key="class" value="one"/>
</open>
<text value="heading"/>
<close container="SPAN">
<open container="SMALL">
<text value="heading"/>
<close container="SMALL">
<open container="BIG">
<text value="heading"/>
<close container="BIG">
<close container="H6">
<newline/>
<newline/>
<open container="FORM">
<newline/>
<newline/>
<open container="H3">
<text value="Unvarnished"/>
<close container="H3">
<newline/>
<open container="STRIKE">
<newline/>
<open container="P">
<text value="plain text"/>
<newline/>
<close container="P">
<open container="P">
<text value="more plain text Reset SUBMIT"/>
<newline/>
<leaf tag="INPUT">
<attr key="type" value="radio"/>
<attr key="name" value="group1"/>
</leaf>
<text value=" "/>
<text value="radio1"/>
<newline/>
<leaf tag="INPUT">
<attr key="type" value="reset"/>
<attr key="name" value="reset"/>
<attr key="id" value="input2"/>
<attr key="value" value="Reset"/>
</leaf>
<text value=" "/>
<newline/>
<leaf tag="INPUT">
<attr key="type" value="submit"/>
<attr key="id" value="input1"/>
<attr key="name" value="submit"/>
<attr key="value" value="SUBMIT"/>
</leaf>
<newline/>
<leaf tag="INPUT">
<attr key="type" value="file"/>
<attr key="size" value="20"/>
<attr key="name" value="file"/>
<attr key="value" value="myfile"/>
</leaf>
<newline/>
<leaf tag="TEXTAREA">
<attr key="name" value="a"/>
<attr key="rows" value="1"/>
<attr key="cols" value="12"/>
<attr key="value" value="a textarea"/>
<attr key="a textarea" value="</textarea>"/>
<content value="a textarea"/>
</leaf>
<newline/>
<open container="SELECT">
<attr key="name" value="select2"/>
<attr key="id" value="select1"/>
<attr key="size" value="4"/>
<attr key="multiple" value=""/>
</open>
<newline/>
<text value=" "/>
<open container="OPTION">
<text value="option 1"/>
<close container="OPTION">
<newline/>
<text value=" "/>
<open container="OPTION">
<text value="option 2"/>
<close container="OPTION">
<newline/>
<text value=" "/>
<open container="OPTION">
<attr key="selected" value=""/>
</open>
<text value="option 3"/>
<close container="OPTION">
<newline/>
<text value=" "/>
<open container="OPTION">
<text value="option 4"/>
<close container="OPTION">
<newline/>
<text value=" "/>
<open container="OPTION">
<text value="option 5"/>
<close container="OPTION">
<newline/>
<text value=" "/>
<open container="OPTION">
<text value="option 6"/>
<close container="OPTION">
<newline/>
<close container="SELECT">
<newline/>
<open container="SELECT">
<attr key="name" value="select1"/>
<attr key="size" value="2"/>
</open>
<newline/>
<text value=" "/>
<open container="OPTION">
<attr key="selected" value=""/>
</open>
<text value="option 1"/>
<close container="OPTION">
<newline/>
<text value=" "/>
<open container="OPTION">
<text value="option 2"/>
<close container="OPTION">
<newline/>
<close container="SELECT">
<newline/>
<open container="SELECT">
<attr key="name" value="select3"/>
<attr key="size" value="1"/>
</open>
<newline/>
<text value=" "/>
<open container="OPTION">
<attr key="selected" value=""/>
</open>
<text value="option 1"/>
<close container="OPTION">
<newline/>
<text value=" "/>
<open container="OPTION">
<text value="option 2"/>
<close container="OPTION">
<newline/>
<close container="SELECT">
<newline/>
<open container="PRE">
<text value="this is pre"/>
<close container="PRE">
<text value=" "/>
<text value="this is not pre"/>
<newline/>
<close container="P">
<close container="STRIKE">
<newline/>
<newline/>
<open container="H3">
<text value="Font size=3 color=#ff0000 face=desdemona, arial, strike"/>
<close container="H3">
<newline/>
<open container="FONT">
<attr key="size" value="3"/>
<attr key="color" value="#ff0000"/>
<attr key="face" value="desdemona, arial"/>
</open>
<open container="STRIKE">
<newline/>
<open container="P">
<text value="plain text"/>
<newline/>
<close container="P">
<open container="P">
<text value="more plain text Reset SUBMIT"/>
<newline/>
<leaf tag="INPUT">
<attr key="type" value="radio"/>
<attr key="name" value="group1"/>
</leaf>
<text value=" "/>
<text value="radio1"/>
<newline/>
<leaf tag="INPUT">
<attr key="type" value="reset"/>
<attr key="name" value="reset"/>
<attr key="id" value="input2"/>
<attr key="value" value="Reset"/>
</leaf>
<text value=" "/>
<newline/>
<leaf tag="INPUT">
<attr key="type" value="submit"/>
<attr key="id" value="input1"/>
<attr key="name" value="submit"/>
<attr key="value" value="SUBMIT"/>
</leaf>
<newline/>
<leaf tag="INPUT">
<attr key="type" value="file"/>
<attr key="size" value="20"/>
<attr key="name" value="file"/>
<attr key="value" value="myfile"/>
</leaf>
<newline/>
<leaf tag="TEXTAREA">
<attr key="name" value="a"/>
<attr key="rows" value="1"/>
<attr key="cols" value="12"/>
<attr key="value" value="a textarea"/>
<attr key="a textarea" value="</textarea>"/>
<content value="a textarea"/>
</leaf>
<newline/>
<open container="SELECT">
<attr key="name" value="select2"/>
<attr key="id" value="select1"/>
<attr key="size" value="4"/>
<attr key="multiple" value=""/>
</open>
<newline/>
<text value=" "/>
<open container="OPTION">
<text value="option 1"/>
<close container="OPTION">
<newline/>
<text value=" "/>
<open container="OPTION">
<text value="option 2"/>
<close container="OPTION">
<newline/>
<text value=" "/>
<open container="OPTION">
<attr key="selected" value=""/>
</open>
<text value="option 3"/>
<close container="OPTION">
<newline/>
<text value=" "/>
<open container="OPTION">
<text value="option 4"/>
<close container="OPTION">
<newline/>
<text value=" "/>
<open container="OPTION">
<text value="option 5"/>
<close container="OPTION">
<newline/>
<text value=" "/>
<open container="OPTION">
<text value="option 6"/>
<close container="OPTION">
<newline/>
<close container="SELECT">
<newline/>
<open container="SELECT">
<attr key="name" value="select1"/>
<attr key="size" value="2"/>
</open>
<newline/>
<text value=" "/>
<open container="OPTION">
<attr key="selected" value=""/>
</open>
<text value="option 1"/>
<close container="OPTION">
<newline/>
<text value=" "/>
<open container="OPTION">
<text value="option 2"/>
<close container="OPTION">
<newline/>
<close container="SELECT">
<newline/>
<open container="SELECT">
<attr key="name" value="select3"/>
<attr key="size" value="1"/>
</open>
<newline/>
<text value=" "/>
<open container="OPTION">
<attr key="selected" value=""/>
</open>
<text value="option 1"/>
<close container="OPTION">
<newline/>
<text value=" "/>
<open container="OPTION">
<text value="option 2"/>
<close container="OPTION">
<newline/>
<close container="SELECT">
<newline/>
<open container="PRE">
<text value="this is pre"/>
<close container="PRE">
<text value=" "/>
<text value="this is not pre"/>
<newline/>
<close container="P">
<close container="STRIKE">
<newline/>
<close container="FONT">
<newline/>
<newline/>
<open container="H3">
<text value="font size=2"/>
<close container="H3">
<newline/>
<open container="FONT">
<attr key="size" value="2"/>
</open>
<newline/>
<open container="P">
<text value="plain text"/>
<newline/>
<close container="P">
<open container="P">
<text value="more plain text Reset SUBMIT"/>
<newline/>
<leaf tag="INPUT">
<attr key="type" value="radio"/>
<attr key="name" value="group1"/>
</leaf>
<text value=" "/>
<text value="radio1"/>
<newline/>
<leaf tag="INPUT">
<attr key="type" value="reset"/>
<attr key="name" value="reset"/>
<attr key="id" value="input2"/>
<attr key="value" value="Reset"/>
</leaf>
<text value=" "/>
<newline/>
<leaf tag="INPUT">
<attr key="type" value="submit"/>
<attr key="id" value="input1"/>
<attr key="name" value="submit"/>
<attr key="value" value="SUBMIT"/>
</leaf>
<newline/>
<leaf tag="INPUT">
<attr key="type" value="file"/>
<attr key="size" value="20"/>
<attr key="name" value="file"/>
<attr key="value" value="myfile"/>
</leaf>
<newline/>
<leaf tag="TEXTAREA">
<attr key="name" value="a"/>
<attr key="rows" value="1"/>
<attr key="cols" value="12"/>
<attr key="value" value="a textarea"/>
<attr key="a textarea" value="</textarea>"/>
<content value="a textarea"/>
</leaf>
<newline/>
<open container="SELECT">
<attr key="name" value="select2"/>
<attr key="id" value="select1"/>
<attr key="size" value="4"/>
<attr key="multiple" value=""/>
</open>
<newline/>
<text value=" "/>
<open container="OPTION">
<text value="option 1"/>
<close container="OPTION">
<newline/>
<text value=" "/>
<open container="OPTION">
<text value="option 2"/>
<close container="OPTION">
<newline/>
<text value=" "/>
<open container="OPTION">
<attr key="selected" value=""/>
</open>
<text value="option 3"/>
<close container="OPTION">
<newline/>
<text value=" "/>
<open container="OPTION">
<text value="option 4"/>
<close container="OPTION">
<newline/>
<text value=" "/>
<open container="OPTION">
<text value="option 5"/>
<close container="OPTION">
<newline/>
<text value=" "/>
<open container="OPTION">
<text value="option 6"/>
<close container="OPTION">
<newline/>
<close container="SELECT">
<newline/>
<open container="SELECT">
<attr key="name" value="select1"/>
<attr key="size" value="2"/>
</open>
<newline/>
<text value=" "/>
<open container="OPTION">
<attr key="selected" value=""/>
</open>
<text value="option 1"/>
<close container="OPTION">
<newline/>
<text value=" "/>
<open container="OPTION">
<text value="option 2"/>
<close container="OPTION">
<newline/>
<close container="SELECT">
<newline/>
<open container="SELECT">
<attr key="name" value="select3"/>
<attr key="size" value="1"/>
</open>
<newline/>
<text value=" "/>
<open container="OPTION">
<attr key="selected" value=""/>
</open>
<text value="option 1"/>
<close container="OPTION">
<newline/>
<text value=" "/>
<open container="OPTION">
<text value="option 2"/>
<close container="OPTION">
<newline/>
<close container="SELECT">
<newline/>
<open container="PRE">
<text value="this is pre"/>
<close container="PRE">
<text value=" "/>
<text value="this is not pre"/>
<newline/>
<close container="P">
<close container="FONT">
<newline/>
<newline/>
<open container="H3">
<text value="font face=Arial"/>
<close container="H3">
<newline/>
<open container="FONT">
<attr key="face" value="Arial"/>
</open>
<newline/>
<open container="P">
<text value="plain text"/>
<newline/>
<close container="P">
<open container="P">
<text value="more plain text Reset SUBMIT"/>
<newline/>
<leaf tag="INPUT">
<attr key="type" value="radio"/>
<attr key="name" value="group1"/>
</leaf>
<text value=" "/>
<text value="radio1"/>
<newline/>
<leaf tag="INPUT">
<attr key="type" value="reset"/>
<attr key="name" value="reset"/>
<attr key="id" value="input2"/>
<attr key="value" value="Reset"/>
</leaf>
<text value=" "/>
<newline/>
<leaf tag="INPUT">
<attr key="type" value="submit"/>
<attr key="id" value="input1"/>
<attr key="name" value="submit"/>
<attr key="value" value="SUBMIT"/>
</leaf>
<newline/>
<leaf tag="INPUT">
<attr key="type" value="file"/>
<attr key="size" value="20"/>
<attr key="name" value="file"/>
<attr key="value" value="myfile"/>
</leaf>
<newline/>
<leaf tag="TEXTAREA">
<attr key="name" value="a"/>
<attr key="rows" value="1"/>
<attr key="cols" value="12"/>
<attr key="value" value="a textarea"/>
<attr key="a textarea" value="</textarea>"/>
<content value="a textarea"/>
</leaf>
<newline/>
<open container="SELECT">
<attr key="name" value="select2"/>
<attr key="id" value="select1"/>
<attr key="size" value="4"/>
<attr key="multiple" value=""/>
</open>
<newline/>
<text value=" "/>
<open container="OPTION">
<text value="option 1"/>
<close container="OPTION">
<newline/>
<text value=" "/>
<open container="OPTION">
<text value="option 2"/>
<close container="OPTION">
<newline/>
<text value=" "/>
<open container="OPTION">
<attr key="selected" value=""/>
</open>
<text value="option 3"/>
<close container="OPTION">
<newline/>
<text value=" "/>
<open container="OPTION">
<text value="option 4"/>
<close container="OPTION">
<newline/>
<text value=" "/>
<open container="OPTION">
<text value="option 5"/>
<close container="OPTION">
<newline/>
<text value=" "/>
<open container="OPTION">
<text value="option 6"/>
<close container="OPTION">
<newline/>
<close container="SELECT">
<newline/>
<open container="SELECT">
<attr key="name" value="select1"/>
<attr key="size" value="2"/>
</open>
<newline/>
<text value=" "/>
<open container="OPTION">
<attr key="selected" value=""/>
</open>
<text value="option 1"/>
<close container="OPTION">
<newline/>
<text value=" "/>
<open container="OPTION">
<text value="option 2"/>
<close container="OPTION">
<newline/>
<close container="SELECT">
<newline/>
<open container="SELECT">
<attr key="name" value="select3"/>
<attr key="size" value="1"/>
</open>
<newline/>
<text value=" "/>
<open container="OPTION">
<attr key="selected" value=""/>
</open>
<text value="option 1"/>
<close container="OPTION">
<newline/>
<text value=" "/>
<open container="OPTION">
<text value="option 2"/>
<close container="OPTION">
<newline/>
<close container="SELECT">
<newline/>
<open container="PRE">
<text value="this is pre"/>
<close container="PRE">
<text value=" "/>
<text value="this is not pre"/>
<newline/>
<close container="P">
<close container="FONT">
<newline/>
<newline/>
<open container="H3">
<text value="font point-size=18"/>
<close container="H3">
<newline/>
<open container="FONT">
<attr key="point-size" value="18"/>
</open>
<newline/>
<open container="P">
<text value="plain text"/>
<newline/>
<close container="P">
<open container="P">
<text value="more plain text Reset SUBMIT"/>
<newline/>
<leaf tag="INPUT">
<attr key="type" value="radio"/>
<attr key="name" value="group1"/>
</leaf>
<text value=" "/>
<text value="radio1"/>
<newline/>
<leaf tag="INPUT">
<attr key="type" value="reset"/>
<attr key="name" value="reset"/>
<attr key="id" value="input2"/>
<attr key="value" value="Reset"/>
</leaf>
<text value=" "/>
<newline/>
<leaf tag="INPUT">
<attr key="type" value="submit"/>
<attr key="id" value="input1"/>
<attr key="name" value="submit"/>
<attr key="value" value="SUBMIT"/>
</leaf>
<newline/>
<leaf tag="INPUT">
<attr key="type" value="file"/>
<attr key="size" value="20"/>
<attr key="name" value="file"/>
<attr key="value" value="myfile"/>
</leaf>
<newline/>
<leaf tag="TEXTAREA">
<attr key="name" value="a"/>
<attr key="rows" value="1"/>
<attr key="cols" value="12"/>
<attr key="value" value="a textarea"/>
<attr key="a textarea" value="</textarea>"/>
<content value="a textarea"/>
</leaf>
<newline/>
<open container="SELECT">
<attr key="name" value="select2"/>
<attr key="id" value="select1"/>
<attr key="size" value="4"/>
<attr key="multiple" value=""/>
</open>
<newline/>
<text value=" "/>
<open container="OPTION">
<text value="option 1"/>
<close container="OPTION">
<newline/>
<text value=" "/>
<open container="OPTION">
<text value="option 2"/>
<close container="OPTION">
<newline/>
<text value=" "/>
<open container="OPTION">
<attr key="selected" value=""/>
</open>
<text value="option 3"/>
<close container="OPTION">
<newline/>
<text value=" "/>
<open container="OPTION">
<text value="option 4"/>
<close container="OPTION">
<newline/>
<text value=" "/>
<open container="OPTION">
<text value="option 5"/>
<close container="OPTION">
<newline/>
<text value=" "/>
<open container="OPTION">
<text value="option 6"/>
<close container="OPTION">
<newline/>
<close container="SELECT">
<newline/>
<open container="SELECT">
<attr key="name" value="select1"/>
<attr key="size" value="2"/>
</open>
<newline/>
<text value=" "/>
<open container="OPTION">
<attr key="selected" value=""/>
</open>
<text value="option 1"/>
<close container="OPTION">
<newline/>
<text value=" "/>
<open container="OPTION">
<text value="option 2"/>
<close container="OPTION">
<newline/>
<close container="SELECT">
<newline/>
<open container="SELECT">
<attr key="name" value="select3"/>
<attr key="size" value="1"/>
</open>
<newline/>
<text value=" "/>
<open container="OPTION">
<attr key="selected" value=""/>
</open>
<text value="option 1"/>
<close container="OPTION">
<newline/>
<text value=" "/>
<open container="OPTION">
<text value="option 2"/>
<close container="OPTION">
<newline/>
<close container="SELECT">
<newline/>
<open container="PRE">
<text value="this is pre"/>
<close container="PRE">
<text value=" "/>
<text value="this is not pre"/>
<newline/>
<close container="P">
<close container="FONT">
<newline/>
<newline/>
<newline/>
<open container="PRE">
<newline/>
<text value="this is pre text"/>
<newline/>
<close container="PRE">
<newline/>
<text value="this is"/>
<open container="SPAN">
<attr key="class" value="peter"/>
</open>
<text value="peter text"/>
<close container="SPAN">
<newline/>
<close container="form">
<newline/>
<newline/>
<open container="SMALL">
<newline/>
<open container="PRE">
<newline/>
<text value="this is small pre text"/>
<newline/>
<close container="PRE">
<newline/>
<close container="SMALL">
<newline/>
<newline/>
<open container="FONT">
<attr key="size" value="7"/>
<attr key="color" value="#0000ff"/>
</open>
<newline/>
<text value="pre table"/>
<newline/>
<open container="TABLE">
<open container="CAPTION">
<text value="this is the caption"/>
<close container="CAPTION">
<open container="TBODY">
<open container="TR">
<open container="TD">
<text value="this is "/>
<open container="FONT">
<attr key="size" value="5"/>
</open>
<text value="the cell"/>
<close container="FONT">
<close container="TD">
<open container="TD">
<text value="cell two"/>
<newline/>
<close container="TD">
<close container="TR">
<close container="TBODY">
<close container="TABLE">
<newline/>
<close container="FONT">
<newline/>
<newline/>
<close container="body">
<close container="html">
</begin>