Issue 22659 - Writer does not produce valid HTML / XML
Summary: Writer does not produce valid HTML / XML
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: OOo 1.0.0
Hardware: All Windows 98
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2003-11-20 02:11 UTC by nbjayme
Modified: 2013-08-07 14:41 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description nbjayme 2003-11-20 02:11:55 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.
Comment 1 mci 2003-12-15 11:08:47 UTC
reassigned to bh
Comment 2 utomo99 2004-01-06 04:30:54 UTC
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.
Comment 3 haxwell 2005-02-09 16:32:55 UTC
Resolving Invalid until more information becomes available.
Comment 4 nbjayme 2005-02-09 23:48:43 UTC
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---
Comment 5 haxwell 2005-02-10 00:00:22 UTC
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.
Comment 6 bettina.haberer 2010-05-21 14:45:05 UTC
To grep the issues easier via "requirements" I put the issues currently lying on
my owner to the owner "requirements".