Test results for Solaris x86 |
Test for correct functionality of the examples used in the xmlfy documentation.
Pass
cat _INPUT_DATA_ ¦ xmlfy -S schema.dtd
127.0.0.1 - - [15/Nov/2009:07:44:56 +1100] "GET /doc HTTP/1.1" 404 276 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4) Gecko/20090427 Fedora/3.5-0.20.beta4.fc11 Firefox/3.5b4" 127.0.0.1 - - [15/Nov/2009:07:44:56 +1100] "GET /favicon.ico HTTP/1.1" 404 284 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4) Gecko/20090427 Fedora/3.5-0.20.beta4.fc11 Firefox/3.5b4" 127.0.0.1 - - [15/Nov/2009:07:44:59 +1100] "GET /favicon.ico HTTP/1.1" 404 284 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4) Gecko/20090427 Fedora/3.5-0.20.beta4.fc11 Firefox/3.5b4" 127.0.0.1 - - [15/Nov/2009:07:45:00 +1100] "GET /docs HTTP/1.1" 301 305 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4) Gecko/20090427 Fedora/3.5-0.20.beta4.fc11 Firefox/3.5b4" 127.0.0.1 - - [15/Nov/2009:07:45:00 +1100] "GET /docs/ HTTP/1.1" 403 282 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4) Gecko/20090427 Fedora/3.5-0.20.beta4.fc11 Firefox/3.5b4" 127.0.0.1 - - [15/Nov/2009:07:45:28 +1100] "GET /docs/ HTTP/1.1" 200 7328 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4) Gecko/20090427 Fedora/3.5-0.20.beta4.fc11 Firefox/3.5b4" 127.0.0.1 - - [15/Nov/2009:07:45:28 +1100] "GET /docs/style/base.css HTTP/1.1" 200 2280 "http://localhost/docs/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4) Gecko/20090427 Fedora/3.5-0.20.beta4.fc11 Firefox/3.5b4" 127.0.0.1 - - [15/Nov/2009:07:45:28 +1100] "GET /docs/style/theme.css HTTP/1.1" 200 3238 "http://localhost/docs/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4) Gecko/20090427 Fedora/3.5-0.20.beta4.fc11 Firefox/3.5b4" 127.0.0.1 - - [15/Nov/2009:07:45:28 +1100] "GET /docs/style/print.css HTTP/1.1" 200 207 "http://localhost/docs/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4) Gecko/20090427 Fedora/3.5-0.20.beta4.fc11 Firefox/3.5b4" 127.0.0.1 - - [15/Nov/2009:07:45:28 +1100] "GET /docs/images/xmlfy_logo.jpg HTTP/1.1" 200 13076 "http://localhost/docs/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4) Gecko/20090427 Fedora/3.5-0.20.beta4.fc11 Firefox/3.5b4" 127.0.0.1 - - [15/Nov/2009:07:45:28 +1100] "GET /docs/images/howitworks.png HTTP/1.1" 200 77617 "http://localhost/docs/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4) Gecko/20090427 Fedora/3.5-0.20.beta4.fc11 Firefox/3.5b4" 127.0.0.1 - - [15/Nov/2009:07:45:28 +1100] "GET /docs/images/external.png HTTP/1.1" 200 206 "http://localhost/docs/style/theme.css" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4) Gecko/20090427 Fedora/3.5-0.20.beta4.fc11 Firefox/3.5b4" 127.0.0.1 - - [15/Nov/2009:07:45:28 +1100] "GET /docs/images/bar_left_ximal.png HTTP/1.1" 200 2800 "http://localhost/docs/style/theme.css" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4) Gecko/20090427 Fedora/3.5-0.20.beta4.fc11 Firefox/3.5b4" 127.0.0.1 - - [15/Nov/2009:07:45:28 +1100] "GET /docs/images/bar_middle.png HTTP/1.1" 200 283 "http://localhost/docs/style/theme.css" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4) Gecko/20090427 Fedora/3.5-0.20.beta4.fc11 Firefox/3.5b4" 127.0.0.1 - - [15/Nov/2009:07:45:28 +1100] "GET /docs/images/bar_right.png HTTP/1.1" 200 2126 "http://localhost/docs/style/theme.css" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4) Gecko/20090427 Fedora/3.5-0.20.beta4.fc11 Firefox/3.5b4"
<!-- xmlfy-args: -q -Q '\"[]' -t --> <!ELEMENT access_log (entry*)> <!ELEMENT entry (remote_host, identd, remote_user, timestamp, request, status, size, referer, user_agent)> <!ELEMENT remote_host (#PCDATA)> <!ELEMENT identd (#PCDATA)> <!ELEMENT remote_user (#PCDATA)> <!ELEMENT timestamp (#PCDATA)> <!ELEMENT request (#PCDATA)> <!ELEMENT status (#PCDATA)> <!ELEMENT size (#PCDATA)> <!ELEMENT referer (#PCDATA)> <!ELEMENT user_agent (#PCDATA)>
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE access_log SYSTEM "schema.dtd"> <access_log> <entry> <remote_host>127.0.0.1</remote_host> <identd>-</identd> <remote_user>-</remote_user> <timestamp>15/Nov/2009:07:44:56 +1100</timestamp> <request>GET /doc HTTP/1.1</request> <status>404</status> <size>276</size> <referer>-</referer> <user_agent>Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4) Gecko/20090427 Fedora/3.5-0.20.beta4.fc11 Firefox/3.5b4</user_agent> </entry> <entry> <remote_host>127.0.0.1</remote_host> <identd>-</identd> <remote_user>-</remote_user> <timestamp>15/Nov/2009:07:44:56 +1100</timestamp> <request>GET /favicon.ico HTTP/1.1</request> <status>404</status> <size>284</size> <referer>-</referer> <user_agent>Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4) Gecko/20090427 Fedora/3.5-0.20.beta4.fc11 Firefox/3.5b4</user_agent> </entry> <entry> <remote_host>127.0.0.1</remote_host> <identd>-</identd> <remote_user>-</remote_user> <timestamp>15/Nov/2009:07:44:59 +1100</timestamp> <request>GET /favicon.ico HTTP/1.1</request> <status>404</status> <size>284</size> <referer>-</referer> <user_agent>Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4) Gecko/20090427 Fedora/3.5-0.20.beta4.fc11 Firefox/3.5b4</user_agent> </entry> <entry> <remote_host>127.0.0.1</remote_host> <identd>-</identd> <remote_user>-</remote_user> <timestamp>15/Nov/2009:07:45:00 +1100</timestamp> <request>GET /docs HTTP/1.1</request> <status>301</status> <size>305</size> <referer>-</referer> <user_agent>Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4) Gecko/20090427 Fedora/3.5-0.20.beta4.fc11 Firefox/3.5b4</user_agent> </entry> <entry> <remote_host>127.0.0.1</remote_host> <identd>-</identd> <remote_user>-</remote_user> <timestamp>15/Nov/2009:07:45:00 +1100</timestamp> <request>GET /docs/ HTTP/1.1</request> <status>403</status> <size>282</size> <referer>-</referer> <user_agent>Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4) Gecko/20090427 Fedora/3.5-0.20.beta4.fc11 Firefox/3.5b4</user_agent> </entry> <entry> <remote_host>127.0.0.1</remote_host> <identd>-</identd> <remote_user>-</remote_user> <timestamp>15/Nov/2009:07:45:28 +1100</timestamp> <request>GET /docs/ HTTP/1.1</request> <status>200</status> <size>7328</size> <referer>-</referer> <user_agent>Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4) Gecko/20090427 Fedora/3.5-0.20.beta4.fc11 Firefox/3.5b4</user_agent> </entry> <entry> <remote_host>127.0.0.1</remote_host> <identd>-</identd> <remote_user>-</remote_user> <timestamp>15/Nov/2009:07:45:28 +1100</timestamp> <request>GET /docs/style/base.css HTTP/1.1</request> <status>200</status> <size>2280</size> <referer>http://localhost/docs/</referer> <user_agent>Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4) Gecko/20090427 Fedora/3.5-0.20.beta4.fc11 Firefox/3.5b4</user_agent> </entry> <entry> <remote_host>127.0.0.1</remote_host> <identd>-</identd> <remote_user>-</remote_user> <timestamp>15/Nov/2009:07:45:28 +1100</timestamp> <request>GET /docs/style/theme.css HTTP/1.1</request> <status>200</status> <size>3238</size> <referer>http://localhost/docs/</referer> <user_agent>Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4) Gecko/20090427 Fedora/3.5-0.20.beta4.fc11 Firefox/3.5b4</user_agent> </entry> <entry> <remote_host>127.0.0.1</remote_host> <identd>-</identd> <remote_user>-</remote_user> <timestamp>15/Nov/2009:07:45:28 +1100</timestamp> <request>GET /docs/style/print.css HTTP/1.1</request> <status>200</status> <size>207</size> <referer>http://localhost/docs/</referer> <user_agent>Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4) Gecko/20090427 Fedora/3.5-0.20.beta4.fc11 Firefox/3.5b4</user_agent> </entry> <entry> <remote_host>127.0.0.1</remote_host> <identd>-</identd> <remote_user>-</remote_user> <timestamp>15/Nov/2009:07:45:28 +1100</timestamp> <request>GET /docs/images/xmlfy_logo.jpg HTTP/1.1</request> <status>200</status> <size>13076</size> <referer>http://localhost/docs/</referer> <user_agent>Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4) Gecko/20090427 Fedora/3.5-0.20.beta4.fc11 Firefox/3.5b4</user_agent> </entry> <entry> <remote_host>127.0.0.1</remote_host> <identd>-</identd> <remote_user>-</remote_user> <timestamp>15/Nov/2009:07:45:28 +1100</timestamp> <request>GET /docs/images/howitworks.png HTTP/1.1</request> <status>200</status> <size>77617</size> <referer>http://localhost/docs/</referer> <user_agent>Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4) Gecko/20090427 Fedora/3.5-0.20.beta4.fc11 Firefox/3.5b4</user_agent> </entry> <entry> <remote_host>127.0.0.1</remote_host> <identd>-</identd> <remote_user>-</remote_user> <timestamp>15/Nov/2009:07:45:28 +1100</timestamp> <request>GET /docs/images/external.png HTTP/1.1</request> <status>200</status> <size>206</size> <referer>http://localhost/docs/style/theme.css</referer> <user_agent>Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4) Gecko/20090427 Fedora/3.5-0.20.beta4.fc11 Firefox/3.5b4</user_agent> </entry> <entry> <remote_host>127.0.0.1</remote_host> <identd>-</identd> <remote_user>-</remote_user> <timestamp>15/Nov/2009:07:45:28 +1100</timestamp> <request>GET /docs/images/bar_left_ximal.png HTTP/1.1</request> <status>200</status> <size>2800</size> <referer>http://localhost/docs/style/theme.css</referer> <user_agent>Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4) Gecko/20090427 Fedora/3.5-0.20.beta4.fc11 Firefox/3.5b4</user_agent> </entry> <entry> <remote_host>127.0.0.1</remote_host> <identd>-</identd> <remote_user>-</remote_user> <timestamp>15/Nov/2009:07:45:28 +1100</timestamp> <request>GET /docs/images/bar_middle.png HTTP/1.1</request> <status>200</status> <size>283</size> <referer>http://localhost/docs/style/theme.css</referer> <user_agent>Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4) Gecko/20090427 Fedora/3.5-0.20.beta4.fc11 Firefox/3.5b4</user_agent> </entry> <entry> <remote_host>127.0.0.1</remote_host> <identd>-</identd> <remote_user>-</remote_user> <timestamp>15/Nov/2009:07:45:28 +1100</timestamp> <request>GET /docs/images/bar_right.png HTTP/1.1</request> <status>200</status> <size>2126</size> <referer>http://localhost/docs/style/theme.css</referer> <user_agent>Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4) Gecko/20090427 Fedora/3.5-0.20.beta4.fc11 Firefox/3.5b4</user_agent> </entry> </access_log>