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

asxml and xhtml settings ???

From: Douglas Cook <cookd@cs.byu.edu>
Date: Mon, 26 Jul 1999 15:18:49 -0700
To: Tidy <html-tidy@w3.org>
Message-id: <002701bed7b4$d5d713c0$54741482@kodiak.pnl.gov>
Maybe I'm not understanding something, but I came across something that
doesn't look right in the code.

The option -asxml is supposed to make tidy output XML, but it seems like it
is outputting XHTML instead.  Change line 713 from "xHTML = yes;" to "XmlOut
= yes;" to fix the problem.

Another idea I had (since I need both XHTML and XML capability) is to add a
command line option for xHTML, adding

            else if (strcmp(arg, "asxhtml") == 0)
                xHTML = yes;

right below line 713.


Douglas Cook - MCP
Received on Monday, 26 July 1999 21:43:01 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:46 UTC