[Home]  [List]  [News]  [Docs]  [FAQ]  [Downloads]  [Resources]  [About]
Search :
/Home /List

list4xt : Mailing list for the XT users community.

[list4xt] XHTML output handler nits

Subject: [list4xt] XHTML output handler nits

User: Website

From: Mike Brown (mike@skew.org)
Date: 01/05/2000 - 20:06


Something about this output handler doesn't sit well with me. I think it's
just a matter of peripheral issues of vague naming and purpose getting
mixed up with my personal feelings on feeding "loose" XHTML for certain
browsers to render because they don't know any better. I have plenty of
XHTML that is not intended to be rendered in a any browser and for which
the XML output method is prudent.

The goal that was more or less stated at the beginning of this thread was
to handle "XHTML-specific issues", in particular the non-normative
guideline in Appendix C, point 2 of the XHTML 1.0 Recommendation. But the
implication by the announcement of the handler on xmlhack is that XHTML
requires its own output method, and that this particular output method is
applicable to all XHTML.

It is not reasonable to assume that the guidelines in appendix C will
apply to XHTML 1.1 and beyond, and in fact they don't really apply very
well to all XHTML 1.0, since an XHTML document does not have to "strictly
conform" -- it may contain elements that are not from the XHTML namespace
 [Sec. 3.1.2 of XHTML 1.0].

I think the method should be renamed to indicate that it is intended to
achieve this one particular goal, based on guidelines for a specific
version of XHTML. The version attribute should be required on the
xsl:output element. Something like this:

<xsl:output method="java:RenderableXhtmlOutputHandler" version="1.0"
xmlns="http://www.jclark.com/xt/java" />

I also think there should be a more precise API defined than "This output
handler has been designed to output XHTML according to the appendice [sic]
C of the recommendation: http://www.w3.org/TR/xhtml1/", which is rather
broad (for example, does it implement C.6, C.8, and C.9?)

Just an opinion. Don't take it too seriously.

   - Mike
___________________________________________________________
Mike J. Brown, software engineer, Webb Interactive Services
XML/XSL stuff: http://www.skew.org/ http://www.webb.net/

--
Mailing list for the XT users community.     (http://branchareachamber.com)
(mailto:list4xt-request@4xt.org?Subject=unsubscribe to unsubscribe)



Archive générée par hypermail 2b28 le 06/11/2001 - 11:46 CET

webmaster@4xt.org