W3C home > Mailing lists > Public > www-html@w3.org > January 2003

Re: HTML to XHTML translator

From: Vix <vixcc@yahoo.com>
Date: Thu, 16 Jan 2003 11:02:29 -0800 (PST)
Message-ID: <20030116190229.45210.qmail@web21108.mail.yahoo.com>
To: Jesus Arias Fisteus <jaf@it.uc3m.es>, www-html@w3.org

> I have done a HTML 2 XHTML translator for my diplom thesis (September
> 2001). It was written in C. Then I added to it some changes, and now it
> works as a CGI too. You can execute it from:
> http://www.it.uc3m.es/jaf/conversor.html
> It has some known problems, but I havn't enough time to improve it:
> - It doesn't translate style information (font, color, etc.) to a
> stylesheet language (like CSS). Then, if the selected output document type
> is XHTML 1.0 Strict, XHTML 1.1 or XHTML Basic, this information is
> discarded.

I don't think that you MUST convert style information into a CSS file.
In case you did, I would rather give this as an option (not as a default setting).

> - It has problems with some HTML documents. It was programmed to accept a
> lot of frecuent errors in HTML documents, but more work is needed.

I can understand this :)
I can actually see how much time you spent on this compared to the time you spent on the
translator engine itself :)
> However, I think that it could be interesting for you. I would be very
> pleased if you could try it and send me comments about it. If you think
> that it is useful (for example, compared to HTML Tidy), I will ask my
> thesis director to distribute it as open source.

I tested it on an XHTML 1.0 Strict file.
The tool is very useful but does not generate valid HTML from a valid XHTML document.
I can see many reasons for it not to do so but I just thought it would be helpful to share what I
learned about it.

In any case, please ask your supervisor for open source distribution. This way, the open-source
community can help and get the tool better and better.

Best regards,


------> tAke a bReak! gEt eNtertained!
------> http://www.sallini.com/
-> http://netdesignplus.net/
-> It works... It Pays...

Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
Received on Thursday, 16 January 2003 14:05:30 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 30 April 2020 16:20:48 UTC