This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

HTML problems


This file (test.sgml):

-->
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V3.1//EN" []>
<article>
 <para>Lorem ipsum dolor sit amet.
 <screen>Lorem ipsum dolor sit amet.</screen></para>
</article>
<--

when processed with 'db2html test.sgml' on a Red Hat Linux 7.1 system
produces t1.html, which has the appended errors when validated using
validator.w3.org.

openjade-1.3-13
docbook-style-dsssl-1.64-2
docbook-dtd31-sgml-1.0-10
docbook-utils-0.6-13

-->
Document Checked
o File: t1.html
o Character encoding: unknown
o Document type: HTML 4.01 Strict

 Below are the results of attempting to parse this document with an
SGML parser.


Line 12, column 8:
  BGCOLOR="#FFFFFF"
          ^

Error: there is no attribute "BGCOLOR" for this element (in this HTML
version) (explanation...)


Line 13, column 5:
  TEXT="#000000"
       ^

Error: there is no attribute "TEXT" for this element (in this HTML
version) (explanation...)


Line 14, column 5:
  LINK="#0000FF"
       ^

Error: there is no attribute "LINK" for this element (in this HTML
version) (explanation...)


Line 15, column 6:
  VLINK="#840084"
        ^

Error: there is no attribute "VLINK" for this element (in this HTML
version) (explanation...)


Line 16, column 6:
  ALINK="#0000FF"
        ^

Error: there is no attribute "ALINK" for this element (in this HTML
version) (explanation...)


Line 23, column 8:
  BGCOLOR="#E0E0E0"
          ^

Error: there is no attribute "BGCOLOR" for this element (in this HTML
version) (explanation...)


Line 34, column 0:
  ></DIV
  ^

Error: end tag for element "P" which is not open; try removing the end
tag or check for improper nesting of elements (explanation...)

 Sorry, this document does not validate as HTML 4.01 Strict.
<--

Tim.
*/

PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]