[Bug 2422] unclear how to interpret empty attribute values in xsl:output declarations


------- Additional Comments From mike@saxonica.com  2005-10-28 22:46 -------
The spec says "... the output definition uses the value of that attribute from
the xsl:output declaration with the highest import precedence." Therefore if
doctype="" has higher import precedence than doctype="abc", the effective value
of doctype is "". There's nothing in the spec that says "" is handled
differently from any other value of the attribute: therefore it isn't handled
differently; it's an ordinary value like any other.

cdata-section-elements is different because it is cumulative: "For the
cdata-section-elements attribute, the output definition uses the union of the
values from all the constituent xsl:output declarations." (The next draft
actually has slightly revised wording to clarify that it's the union of the
expanded QNames).

Sorry if I'm being dense, but I can only see one way of reading the spec.

Michael Kay (personal response)

Received on Friday, 28 October 2005 22:46:07 UTC