OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: html validator for docbook output


Hi All,

I am attempting to make my output html from Docbook xml compliant with 
w3c standards using http://validator.w3.org/

I have manually added the following to the beginning of the file, since 
this was the first error :

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>


Am I choosing the wrong DocType perhaps? Is it possible to validate the 
HTML (not xhtml) output from DocBookXML conversion?

I still get the following errors, which nearly all deal with namespaces.

#

Line 25, column 40: there is no attribute "XMLNS:SUWL"

<sup xmlns:suwl="http://nwalsh.com/xslt/ext/com.nwalsh.s

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.

✉
#

Line 30, column 34: there is no attribute "XMLNS:SUWL"

<div xmlns:suwl="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.U

✉
#

Line 35, column 29: document type does not allow element "P" here; 
missing one of "APPLET", "OBJECT", "MAP", "IFRAME", "BUTTON" start-tag

<p></p></span></span></div>

The mentioned element is not allowed to appear in the context in which 
you've placed it; the other mentioned elements are the only ones that 
are both allowed there and can contain the element mentioned. This 
might mean that you need a containing element, or possibly that you've 
forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a 
block-level element (such as "<p>" or "<table>") inside an inline 
element (such as "<a>", "<span>", or "<font>").

✉
#

Line 86, column 26: there is no attribute "XMLNS:SUWL"

<p xmlns:suwl="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.UnwrapLin

✉
#

Line 94, column 145: there is no attribute "XMLNS:SUWL"

...izing the beta-catenin <a 
xmlns:suwl="http://nwalsh.com/xslt/ext/com.nwalsh.s


Cheers,        Tristan
---
Tristan J. Fiedler
Postdoctoral Fellow - Stein Lab
Cold Spring Harbor Laboratory


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]