W3C home > Mailing lists > Public > public-qt-comments@w3.org > February 2016

[Bug 29472] [XSLT30] Optionally allow xsl:stream to process a document *without* streaming

From: <bugzilla@jessica.w3.org>
Date: Fri, 19 Feb 2016 00:09:47 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29472-523-Ylfi7QT9qf@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=29472

--- Comment #4 from Michael Kay <mike@saxonica.com> ---
A point about extension attributes here: what the spec actually says is:

The presence of an extension attribute must not cause the principal result or
any secondary result of the transformation to be different from the results
that a conformant XSLT 3.0 processor might produce.

It's therefore entirely reasonable to use extension attributes to switch
streaming on or off, or diagnostics on or off, even in cases where the spec
mandates streaming or mandates diagnostics. If the output of the transformation
is not affected, you're within the rules.

(And in practice, I don't feel a need to take the rule too seriously anyway.
You can always put a sentence in your documentation "Using the my:xyz option
causes the processor to behave in a non-conformant way", and no-one can
complain that your software behaves in a non-conformant processor when the user
specifically asks for this.)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Friday, 19 February 2016 00:09:50 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:59 UTC