Re: [xml] bug report



Le 11/06/01 10:03:46, Daniel Veillard a écrit :
-->tests/multiple is wrong though :]. The HTML files have no DOCTYPE,
and last I checked HTML 4 requires a doctype to be a valid document.

  Valid yes, i.e. allowing SGML validation. However looking at the
current rules for HTML generation:

    http://www.w3.org/TR/xslt#section-HTML-Output-Method

------------------
If the doctype-public or doctype-system attributes are specified,
then the html output method should output a document type declaration
immediately before the first element.
------------------

  So by default, XSLT should not output the doctype if not specified it
seems.

Yes, probably to allow output of HTML fragments, as XSLT isn't required to
output complete documents.

Tom.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]