Tidy from Aug 04 not updating html file.

I am on SPARC Solaris 8 and am seeing the following behavior with tidy from
Aug with the patches posted to this mailing list.

$ cat tst.html
<html>
<head>
</head>
<body>
test
</body>
</html>
$ cat ~/.parms/tidy.config
# Tidy command configurations
# Bool: Meta tag for Tidy? (default: yes)
tidy-mark: yes
# Bool: Pretty print output? (default: yes)
markup: no
# Number: Right margin for line wrapping (default: 66; set to 0 to disable)
wrap:   0
# Bool: Wrap attribute values across lines? (default: no)
wrap-attributes: no
# Bool: allow string literal wrapping (default: no)
wrap-script-literals: no
# Bool: allow lines within ASP pseudo elements to be wrapped (default: yes)
wrap-asp: yes
# Bool: allow lines within JSTE pseudo elements to be wrapped (default: yes)
wrap-jste: yes
# Bool: allow lines within PHP pseudo elements to be wrapped (default: yes)
wrap-php: yes
# Bool: ensure white space within attributes are maintained (default: no)
literal-attributes: no
# Number: columns between tab stops (default: 4)
tab-size: 4
# Bool+: (no, yes, auto)  indent block level tags (default: no)
indent: no
# Number: how much to indent (default: 2)
indent-spaces: 2
# Bool: each attribute on a new line (default: no)
indent-attributes: yes
# Bool: omit optional end tags when pretty printing (default: no)
hide-endtags: no
# Bool: Use XML parser (default: no)
input-xml: no
# Bool: Generate output as well-formed XML (default: no)
output-xml: no
# Bool: Add XML processing instructions (default: no)
add-xml-pi: yes
add-xml-decl: yes
# Bool: pretty print output as extensible HTML (default: no)
output-xhtml: no
# Select: omit|auto|strict|loose|<fpi>: what kind of doctype is generaged (default: auto)
doctype: auto
# Select: raw|ascii|latin1}utf8|iso2022: characters being input (default: ascii)
char-encoding: ascii
# Bool: write non-XML 1.0 basic entities as numeric (default: no)
numeric-entities: no
# Bool: write quotes as entitles (default: no)
quote-marks: no
# Bool: non-breaking spaces as entities (default: yes)
quote-nbsp: yes
# Bool: unadorned & characters written as entities (default: yes)
quote-ampersand: yes
# Bool: require ?> as processing instruction terminator (default: no)
assume-xml-procins: no
# Bool: replace backslashes with forwardslashes (default: yes)
fix-backslash: yes
# Bool: output line break before each <br> (default: no)
break-before-br: yes
# Bool: output tag names in upper case (default: no)
uppercase-tags: yes
# Bool: output attribute names in uppercase (default: no)
uppercase-attributes: yes
# Bool: strip out MS-Word 2000 html extra lines (default: no)
word-2000: yes
# Bool: replace surplus tags and attributes with style rules (default: no)
clean: no
# Bool: replace <i> by <em> and <b> by <strong> (default: no)
logical-emphasis: yes
# Bool: discard paragraph tags rather than create br elements (default: no)
drop-empty-paras: no
# Bool: discard font/center tags rather than create style rules (default: no)
drop-font-tags: no
# Bool: enclose body text within <p> element (default: no)
enclose-text: yes
# Bool: insert a p element around text when permitted (default: no)
enclose-block-text: no
# Bool: replace - with = when encountering adjacent -s (default: yes)
fix-bad-comments: yes
# Bool: add xml space preserve to pre, style and script elements (default: no)
add-xml-space: yes
# String: default alt text for img attributes (default: none)
#alt-text: 
# Bool: write tidied markup to input file (default: no)
write-back: no
# Bool: do not alter last modified time of output file (default: yes)
keep-time: no
# filename: errors and warnings to this file name (default: output to stderr)
# error-file: 
# Bool: display warnings (default: yes)
show-warnings: yes
# Bool: do not output welcome message or summary (default: no)
quiet: no
# Bool: change error output format to one parsable by GNU Emacs (default: no)
gnu-emacs: no
# Bool: generate one output file for each header encountered (default: no)
split: no
# string: declare new empty inline tags
new-empty-tags:
# string: declare new non-empty inline tags
new-inline-tags: CFABORT, CFAPPLET, CFAPPLICATION, CFASSOCIATE, CFAUTHENTICATE, CFBREAK, CFCACHE, CFCOL, CFCOLLECTION, CFCONTENT, CFCOOKIE, CFDIRECTORY, CFELSE, CFELSEIF, CFERROR, CFEXIT, CFFILE, CFFTP, CFGRIDCOLUMN, CFGRIDROW, CFGRIDUPDATE, CFHEADER, CFHTMLHEAD, CFHTTPPARAM, CFINCLUDE, CFINDEX, CFINPUT, CFINSERT, CFLDAP, CFLOCATION, CFMAIL, CFMODULE, CFOBJECT, CFPARAM, CFPOP, CFPROCPARAM, CFPROCRESULT, CFREGISTRY, CFSCHEDULE, CFSEARCH, CFSET, CFSETTING, CFSLIDER, CFSTOREDPROC, CFTEXTINPUT, CFTHROW, CFTREEITEM, CFUPDATE, CFWDDX
# string: declare new block-level tags
new-blocklevel-tags:  CFFORM, CFGRID, CFHTTP, CFIF, CFLOCK, CFLOOP, CFOUTPUT, CFQUERY, CFREPORT, CFSCRIPT, CFSELECT, CFSWITCH, CFCASE, CFDEFAULTCASE, CFTABLE, CFTRANSACTION, CFTREE, CFTRY, CFCATCH
# string: declare new pre type elements
#new-pre-tags:
$ tidy -config ~/.parms/tidy.config -f /tmp/errs.txt -m tst.html

Tidy (vers 4th August 2000) Parsing "/tmp/tst.html"
line 3 column 1 - Warning: inserting missing 'title' element

/tmp/tst.html: Document content looks like HTML 2.0
1 warnings/errors were found!

HTML & CSS specifications are available from http://www.w3.org/
To learn more about Tidy see http://www.w3.org/People/Raggett/tidy/
Please send bug reports to Dave Raggett care of <html-tidy@w3.org>
Lobby your company to join W3C, see http://www.w3.org/Consortium

$ cat /tmp/tst.html
<html>
<head>
</head>
<body>
test
</body>
</html>

Notice that not only is the missing title element not there, but none
of the other things I listed in the config file have been done either.

Anyone have any ideas what might be going wrong?
-- 
Never apply a Star Trek solution to a Babylon 5 problem.
Larry W. Virden <mailto:lvirden@cas.org> <URL: http://www.purl.org/NET/lvirden/>
Even if explicitly stated to the contrary, nothing in this posting should 
be construed as representing my employer's opinions.
-><-

Received on Sunday, 19 November 2000 07:40:10 UTC