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

Attributes getting through...

From: Tim Chadwick <TChadwick@cstlink.com>
Date: Wed, 11 Sep 2002 18:02:44 -0400
Message-ID: <07D4D31324C87742B85778F6B3EC2344014BC5@mail1.hq.cstlink.com>
To: <html-tidy@w3.org>
Hello,
I have been using Tidy to validate xml for a publishing model for
several months
The system is not completely automated and I use Tidy as much as a
checker with a custom interface as much as a tool to fix xml before it
is sent to the db
The editing interface can insert a table, but does not output the quotes
on the table attributes, which is causing a problem for the processing
of that type of content
As you can see below the OutputXml option is set to true, yet the
unquoted attributes are getting through Tidy without warning
I don't know if I am missing a config option or if this is something
already known about
Any input is appreciated, thanks!
 
TidyObj.Options.DocType = "loose" 
TidyObj.Options.TidyMark = false
TidyObj.Options.InputXml = true 
TidyObj.Options.OutputXml = true
TidyObj.Options.OutputXhtml = false 
TidyObj.Options.AssumeXmlProcins = true
TidyObj.Options.QuoteMarks = true 
TidyObj.Options.QuoteNbsp = false 
TidyObj.Options.DropEmptyParas = true 
strTempDoc = strDoc 
'Options Set, perform Tidy HERE 
strDoc = TidyObj.TidyMemToMem(strDoc)
Received on Wednesday, 11 September 2002 18:03:15 GMT

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