Apache OpenOffice (AOO) Bugzilla – Issue 22659
Writer does not produce valid HTML / XML
Last modified: 2013-08-07 14:41:21 UTC
The HTML Generator must meet some basic criteria for XML. 1) Mark-ups must be in lowercases in example. <TABLE> ---> <table> 2) Property values must be enclosed by double quotes. in example. <table border=0> -----> <table border="0"> 3) Single markup to non-empty XML equivalent. in example <br> ------> <br /> this would at least help in porting our web pages to XML in the future.
reassigned to bh
Please add some reference for your comment, so it is easier. also Please try using the latest OpenOffice 1.1 Final , you can download it from www.openoffice.org many bug fixes and enhancements since your version and 1.1 Final . If the problem still happend in 1.1 please report back. or try OOo 1.1.1a (not final version yet) It maybe not yet solve your Issue, but it worth to try.
Resolving Invalid until more information becomes available.
I have tried OpenOffice 1.1.3 under Win9x and I opened the HTML Editor and added a table. The issue is still there as can be seen below: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=us-ascii"> <TITLE></TITLE> <META NAME="GENERATOR" CONTENT="OpenOffice.org 1.1.3 (Win32)"> <META NAME="AUTHOR" CONTENT="Nathaniel Jayme"> <META NAME="CREATED" CONTENT="20050210;7451972"> <META NAME="CHANGEDBY" CONTENT="Nathaniel Jayme"> <META NAME="CHANGED" CONTENT="20050210;7455724"> </HEAD> <BODY LANG="en-US" DIR="LTR"> <TABLE WIDTH=100% BORDER=1 CELLPADDING=4 CELLSPACING=3 STYLE="page-break-before: always"> <COL WIDTH=51*> <COL WIDTH=51*> <COL WIDTH=51*> <COL WIDTH=51*> <COL WIDTH=51*> --- end to save space---
Confirmed. Using 1.9.77, if you create a table in Writer, and then save the file in HTML. The file will not be valid HTML 4.0 Transitional, as it states the doctype is in the file you just saved. You can verify it is not valid by passing it through the W3C's Validator at http://validator.w3.org/ . The file does show as expected in IE and Mozilla 1.7.3.
To grep the issues easier via "requirements" I put the issues currently lying on my owner to the owner "requirements".