I have tried to validate an index.html generated from math.qbk using

http://validator.w3.org/check

> but it fails with
>
> No DOCTYPE found! Attempting validation with HTML 4.01 Transitional.
>
>    The DOCTYPE Declaration was not recognized or is missing. This
> probably means that the Formal Public Identifier contains a spelling
> error, or that the Declaration is not using correct syntax.
> Validation has been performed using a default "fallback" Document
> Type Definition that closely resembles "HTML 4.01 Transitional", but
> the document will not be Valid until you have corrected this problem
> with the DOCTYPE Declaration.
>
>    Learn how to add a doctype to your document from our FAQ.

http://validator.w3.org/docs/help.html#faq-doctype

"
 One should place a DOCTYPE declaration as the very first thing in an HTML
document. For example, for a typical XHTML 1.0 document:

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
      <html xmlns="http://www.w3.org/1999/xhtml"; lang="en" xml:lang="en">
        <head>

          <title>Title</title>
        </head>

        <body>
          <!-- ... body of document ... -->
        </body>

      </html>
"  

It would be nice if this worked as expected by the 'Standard'?

And perhaps it could include the code for the W3C validated logo as well?
I assume it should pass ;-)

How could this be included in the Docbook->HTML stylesheets ?

Thanks

Paul

---
Paul A Bristow
Prizet Farmhouse, Kendal, Cumbria UK LA8 8AB
+44 1539561830 & SMS, Mobile +44 7714 330204 & SMS
[EMAIL PROTECTED]

 



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-docs mailing list
[email protected]
Unsubscribe and other administrative requests: 
https://lists.sourceforge.net/lists/listinfo/boost-docs

Reply via email to