W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 1999

RE: New June 26 Doctype feature

From: Darren Forcier <dforcier@allaire.com>
Date: Thu, 1 Jul 1999 18:30:44 -0400
Message-ID: <C3843BD1B83DD2119D79000092A7BAD4014CB73A@PLATINUM.allaire.com>
To: "'html-tidy@w3.org'" <html-tidy@w3.org>
I think I found my problem. I have written a few custom configuration items
to the config file
which seem to "hide" further Tidy settings:

wrap-asp:no
markup:yes
wrap:66
tab-size:2
indent:yes
indent-spaces:2
hide-endtags:no
input-xml:no
output-xml:no
output-xhtml:no
char-encoding:RAW
numeric-entities:no
quote-marks:yes
quote-ampersand:yes
quote-nbsp:no
wrap-script-literals:yes
uppercase-tags:no
break-before-br:no
uppercase-tags:no
uppercase-attributes:no
clean:yes
write-back:yes
show-warnings:yes
split:no
new-inline-tags:A
new-blocklevel-tags:A
error-file:TidyOut.log
logerrors:yes                              <---
runsilently:no                             <-- These are my own custom
settings...
doctype:"-//ACME//DTD HTML 3.14159//EN"
add-xml-pi:yes
fix-backslash:yes

If I move the last three config items up above my own custom config file
settings
everything works fine.

Feature request: In future versions of Tidy, ignore any custom xxxx:value
pairs found
in the config file instead of giving up on further entries beyond them.

I am using these custom configuration items in an app that is acting as a
pass-through
wrapper to HTML Tidy.

Darren


-----Original Message-----
From: Darren Forcier [mailto:dforcier@allaire.com]
Sent: Thursday, July 01, 1999 6:20 PM
To: 'html-tidy@w3.org'
Subject: New June 26 Doctype feature


Hi,
 
I've been having trouble getting the Doctype config file property to work. 
I have tried the following:
 
doctype:omit
 
which yields:
 
 
<!DOCTYPE html PUBLIC &quot;-//IETF//DTD HTML 2.0//EN&quot;>
 
and the fpi option
 
doctype:"-//DFORCIER/DTD HTML .00001//EN"
 
which still yields the above doctype.
 
Anyone else try this feature in config files with any success?
 
Darren Forcier
Allaire Corporation
Received on Thursday, 1 July 1999 18:25:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:42 GMT