[Bug 5444] [SER] Non-XHTML elements with XHTML output method

------- Comment #3 from zongaro@ca.ibm.com  2008-03-31 13:48 -------
I believe the intent was that the descriptions of the effects of the
serialization parameters on the xhtml output method should be as defined in the
various subsections of section 6 of the recommendation.  In many cases, the
effect of the parameter is identical to that of the xml output method, and in
those cases the recommendation refers back to the definition provided for the
xml output method.  In the case of the indent parameter, there is no reference
back to the definition of the effect of the indent parameter on the xml output
method.  I take that as a signal that the effect of the indent parameter on the
xml output method has no bearing.

Regarding the serialization of an element like foo:br, the second paragraph of
section 6 says, "It is not an error if the instance of the data model is
invalid XHTML."  The recommendation allows for the possibility that a user
might be mixing xhtml with ordinary xml for their own purposesn - perhaps
sending it through some post-processing phase.  An HTML user agent is unlikely
to do anything useful with that in terms of presentation, so the recommendation
leaves it entirely up to the serializer how it should be serialized, so long as
it meets the requirements of the recommendation.

This is my personal response, not that of the XSL or XQuery working groups.

Received on Friday, 4 April 2008 09:59:06 UTC