W3C home > Mailing lists > Public > public-qt-comments@w3.org > June 2012

[Bug 9734] default initial template

From: <bugzilla@jessica.w3.org>
Date: Fri, 29 Jun 2012 10:34:58 +0000
Message-Id: <E1SkYXS-0001qX-KN@jessica.w3.org>
To: public-qt-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=9734

--- Comment #7 from Michael Kay <mike@saxonica.com> 2012-06-29 10:35:07 UTC ---
The approach in comment #6 has some appeal. We would be able to say that if
initial-template="yes" is present, there must be no contained parameters. We
could even require a child xsl:context-item element with mandatory "required"
and "as" attributes to enforce a bit of discipline on stylesheet authors.

I'm not sure we should prevent such a template also having "name" and/or
"match" attributes if required. They would be useful because they would allow
the stylesheet to be invoked using APIs that do not yet support the
initial-template mechanism, for example the Ant invocation API.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Friday, 29 June 2012 10:35:11 UTC

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