To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=53564 Issue #:|53564 Summary:|1.9.122 Unable to save as HTML Component:|Word processor Version:|680m122 Platform:|All URL:| OS/Version:|Windows XP Status:|UNCONFIRMED Status whiteboard:| Keywords:| Resolution:| Issue type:|DEFECT Priority:|P3 Subcomponent:|save-export Assigned to:|mru Reported by:|cjwhrw
------- Additional comments from [EMAIL PROTECTED] Sat Aug 20 12:47:09 -0700 2005 ------- I have an .odt file from which I can export an adequate .pdf The .html which is produced by SaveAs is in poor shape. There doesn't seem to be a way of attaching a file and so a copy of the W3C validation file, which reports 61 errors, is below. Colin W. --------------------------------------------------------------------- W3C QA Markup Validation Service v0.7.0 * Skip Navigation | Home * About... * News * Docs * Help & FAQ * Feedback * Link Checker Jump To: * Results Result: Failed validation, 61 errors File: _zz2.html Encoding: windows-1252 Doctype: HTML 4.0 Transitional This page is not Valid HTML 4.0 Transitional! Below are the results of attempting to parse this document with an SGML parser. 1. Error Line 11 column 128: non SGML character number 28. ...%$c¦bÿ% c¦bÿ%c¦bÿ%c¦bÿ%c&b You have used an illegal character in your text. HTML uses the standard UNICODE Consortium character repertoire, and it leaves undefined (among others) 65 character codes (0 to 31 inclusive and 127 to 159 inclusive) that are sometimes used for typographical quote marks and similar in proprietary character sets. The validator has found one of these undefined characters in your document. The character may appear on your browser as a curly quote, or a trademark symbol, or some other fancy glyph; on a different computer, however, it will likely appear as a completely different character, or nothing at all. Your best bet is to replace the character with the nearest equivalent ASCII character, or to use an appropriate character entity. For more information on Character Encoding on the web, see Alan Flavell's excellent HTML Character Set Issues reference. This error can also be triggered by formatting characters embedded in documents by some word processors. If you use a word processor to edit your HTML documents, be sure to use the "Save as ASCII" or similar command to save the document without formatting information. ✉ 2. Error Line 11 column 146: non SGML character number 24. ...% c¦bÿ%c¦bÿ%c¦bÿ%c¦bÿ%c&b ✉ 3. Error Line 11 column 164: non SGML character number 20. ...%c¦bÿ%c¦bÿ%c¦bÿ%c¦bÿ%c&b ✉ 4. Error Line 11 column 182: non SGML character number 16. ...%c¦bÿ%c¦bÿ%c¦bÿ%c¦bÿ%c&b ✉ 5. Error Line 11 column 200: non SGML character number 12. ...%c¦bÿ%c¦bÿ%c¦bÿ%c¦bÿ%c&b ✉ 6. Error Line 11 column 218: non SGML character number 8. ...%c¦bÿ%c¦bÿ%c¦bÿ%c¦bÿ%" CO ✉ 7. Error Line 11 column 236: non SGML character number 4. ...%c¦bÿ%c¦bÿ%c¦bÿ%" CONTENT="Access to M ✉ 8. Error Line 11 column 19: character "ÿ" is not allowed in the value of attribute "NAME". <META NAME="ÿ%4c¦bÿ%0c¦bÿ%,c¦bÿ%(c&brv It is possible that you violated the naming convention for this attribute. For example, id and name attributes must begin with a letter, not a digit. ✉ 9. Error Line 11 column 110: value of attribute "NAME" must be a single token. ...%(c¦bÿ%$c¦bÿ% c¦bÿ%c¦bÿ%c&b This attribute can not take a space-separated list of words as a value, but only one word ("token"). This may also be caused by the use of a space for the value of an attribute which does not permit it. ✉ 10. Error Line 11 column 120: character "¦" is not allowed in the value of attribute "NAME". ...;bÿ%$c¦bÿ% c¦bÿ%c¦bÿ%c¦b&yu ✉ 11. Error Line 16 column 7: required attribute "TYPE" not specified. <STYLE> The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element. Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>. ✉ 12. Error Line 39 column 31: there is no attribute "TYPE". <P ALIGN=CENTER><SDFIELD TYPE=DOCINFO SUBTYPE=TITLE>PyMatrix Guide</SDFIELD><.. You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead). This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information. How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. ✉ 13. Error Line 39 column 47: there is no attribute "SUBTYPE". <P ALIGN=CENTER><SDFIELD TYPE=DOCINFO SUBTYPE=TITLE>PyMatrix Guide</SDFIELD></P> ✉ 14. Error Line 39 column 52: element "SDFIELD" undefined. <P ALIGN=CENTER><SDFIELD TYPE=DOCINFO SUBTYPE=TITLE>PyMatrix Guide</SDFIELD></P> You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by: * incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element), * by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead). * by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case. ✉ 15. Error Line 44 column 45: there is no attribute "FORMAT". ...N=CENTER><SDFIELD TYPE=AUTHOR FORMAT=SHORTCUT SDFIXED>Colin J. Williams</SDFI ✉ 16. Error Line 44 column 61: "SDFIXED" is not a member of a group specified for any attribute. ...LIGN=CENTER><SDFIELD TYPE=AUTHOR FORMAT=SHORTCUT SDFIXED>Colin J. Williams</SDFIELD></P> ✉ 17. Error Line 44 column 61: element "SDFIELD" undefined. ...LIGN=CENTER><SDFIELD TYPE=AUTHOR FORMAT=SHORTCUT SDFIXED>Colin J. Williams</SDFIELD></P> ✉ 18. Error Line 47 column 46: there is no attribute "SDVAL". ...=CENTER><SDFIELD TYPE=DATETIME SDVAL="38579.7611434028" SDNUM="1033;1033;MMMM ✉ 19. Error Line 47 column 71: there is no attribute "SDNUM". ...ETIME SDVAL="38579.7611434028" SDNUM="1033;1033;MMMM D, YYYY">August 15, 2005 ✉ 20. Error Line 47 column 95: element "SDFIELD" undefined. ...34028" SDNUM="1033;1033;MMMM D, YYYY">August 15, 2005</SDFIELD></P> ✉ 21. Error Line 58 column 14: value of attribute "ID" must be a single token. <DIV ID="Table of Contents1" DIR="LTR" STYLE="background: #00dcff"> ✉ 22. Error Line 59 column 15: value of attribute "ID" must be a single token. <DIV ID="Table of Contents1_Head" DIR="LTR"> ✉ 23. Error Line 102 column 3: start tag for "LI" omitted, but its declaration does not permit this. <P></P> ✉ 24. Error Line 107 column 3: start tag for "LI" omitted, but its declaration does not permit this. <P>Consider the set of linear equations: ✉ 25. Error Line 113 column 16: an attribute value must be a literal unless it contains only name characters. <TABLE WIDTH=100% BORDER=0 CELLPADDING=4 CELLSPACING=0> You have used a character that is not considered a "name character" in an attribute value. Which characters are considered "name characters" varies between the different document types, but a good rule of thumb is that unless the value contains only lower or upper case letters in the range a-z you must put quotation marks around the value. In fact, unless you have extreme file size requirements it is a very very good idea to always put quote marks around your attribute values. It is never wrong to do so, and very often it is absolutely necessary. ✉ 26. Error Line 114 column 15: an attribute value must be a literal unless it contains only name characters. <COL WIDTH=228*> ✉ 27. Error Line 115 column 14: an attribute value must be a literal unless it contains only name characters. <COL WIDTH=28*> ✉ 28. Error Line 118 column 15: an attribute value must be a literal unless it contains only name characters. <TD WIDTH=89%> ✉ 29. Error Line 129 column 15: an attribute value must be a literal unless it contains only name characters. <TD WIDTH=11%> ✉ 30. Error Line 134 column 7: end tag for "TABLE" which is not finished. </TABLE> Most likely, You nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p> Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, <head> generally requires a <title>, lists (ul, ol, dl) require list items (li, or dt, dd), and so on. ✉ 31. Error Line 151 column 16: an attribute value must be a literal unless it contains only name characters. <TABLE WIDTH=100% BORDER=0 CELLPADDING=4 CELLSPACING=0> ✉ 32. Error Line 152 column 15: an attribute value must be a literal unless it contains only name characters. <COL WIDTH=228*> ✉ 33. Error Line 153 column 14: an attribute value must be a literal unless it contains only name characters. <COL WIDTH=28*> ✉ 34. Error Line 156 column 15: an attribute value must be a literal unless it contains only name characters. <TD WIDTH=89%> ✉ 35. Error Line 157 column 107: there is no attribute "NAME". ...G SRC="_zz2_html_m75bc14c3.gif" NAME="Objekt4" ALIGN=LEFT HSPACE=1995 VSPACE= ✉ 36. Error Line 157 column 168: required attribute "ALT" not specified. ...ACE=1995 VSPACE=8 WIDTH=147 HEIGHT=72><BR CLEAR=LEFT> ✉ 37. Error Line 160 column 15: an attribute value must be a literal unless it contains only name characters. <TD WIDTH=11%> ✉ 38. Error Line 165 column 7: end tag for "TABLE" which is not finished. </TABLE> ✉ 39. Error Line 172 column 16: an attribute value must be a literal unless it contains only name characters. <TABLE WIDTH=100% BORDER=0 CELLPADDING=4 CELLSPACING=0> ✉ 40. Error Line 173 column 15: an attribute value must be a literal unless it contains only name characters. <COL WIDTH=228*> ✉ 41. Error Line 174 column 14: an attribute value must be a literal unless it contains only name characters. <COL WIDTH=28*> ✉ 42. Error Line 177 column 15: an attribute value must be a literal unless it contains only name characters. <TD WIDTH=89%> ✉ 43. Error Line 178 column 122: required attribute "ALT" not specified. ...CE=1995 VSPACE=8 WIDTH=414 HEIGHT=117><BR CLEAR=LEFT> ✉ 44. Error Line 182 column 15: an attribute value must be a literal unless it contains only name characters. <TD WIDTH=11%> ✉ 45. Error Line 187 column 7: end tag for "TABLE" which is not finished. </TABLE> ✉ 46. Error Line 206 column 16: an attribute value must be a literal unless it contains only name characters. <TABLE WIDTH=100% BORDER=0 CELLPADDING=4 CELLSPACING=0 STYLE="page-break-after: ✉ 47. Error Line 207 column 15: an attribute value must be a literal unless it contains only name characters. <COL WIDTH=228*> ✉ 48. Error Line 208 column 14: an attribute value must be a literal unless it contains only name characters. <COL WIDTH=28*> ✉ 49. Error Line 211 column 15: an attribute value must be a literal unless it contains only name characters. <TD WIDTH=89%> ✉ 50. Error Line 212 column 118: required attribute "ALT" not specified. ...PACE=1995 VSPACE=8 WIDTH=83 HEIGHT=30><BR CLEAR=LEFT> ✉ 51. Error Line 216 column 15: an attribute value must be a literal unless it contains only name characters. <TD WIDTH=11%> ✉ 52. Error Line 221 column 7: end tag for "TABLE" which is not finished. </TABLE> ✉ 53. Error Line 238 column 16: an attribute value must be a literal unless it contains only name characters. <TABLE WIDTH=100% BORDER=0 CELLPADDING=4 CELLSPACING=0> ✉ 54. Error Line 239 column 15: an attribute value must be a literal unless it contains only name characters. <COL WIDTH=228*> ✉ 55. Error Line 240 column 14: an attribute value must be a literal unless it contains only name characters. <COL WIDTH=28*> ✉ 56. Error Line 243 column 15: an attribute value must be a literal unless it contains only name characters. <TD WIDTH=89%> ✉ 57. Error Line 247 column 15: an attribute value must be a literal unless it contains only name characters. <TD WIDTH=11%> ✉ 58. Error Line 252 column 7: end tag for "TABLE" which is not finished. </TABLE> ✉ 59. Error Line 291 column 21: value of attribute "ID" must be a single token. <DIV ID="Alphabetical Index1" DIR="LTR" STYLE="background: transparent"> ✉ 60. Error Line 292 column 22: value of attribute "ID" must be a single token. <DIV ID="Alphabetical Index1_Head" DIR="LTR"> ✉ 61. Error Line 299 column 3: start tag for "LI" omitted, but its declaration does not permit this. <P></P> ✉ Valid XHTML 1.0! The W3C Validator Team --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]