This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 29460 - External (non-XSLT) packages
Summary: External (non-XSLT) packages
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 (show other bugs)
Version: Candidate Recommendation
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-15 09:36 UTC by Michael Kay
Modified: 2016-10-06 21:48 UTC (History)
1 user (show)

See Also:


Attachments

Description Michael Kay 2016-02-15 09:36:10 UTC
Originally raised on email, see https://lists.w3.org/Archives/Public/public-xsl-wg/2016Jan/0002.html

We dropped the XQuery Invocation Feature through bug 29251 (its changes have not been logged, I reported that as an editorial bug here: https://www.w3.org/Bugs/Public/show_bug.cgi?id=29375).

We know that how a package is located and presented is implementation defined. It can be a compiled package etc, etc. However, I think it makes sense to add a little Note somewhere that strongly suggests that an implementation is free to offer a package written in any language. The way we currently describe it seems to suggest that only a package with xsl:package is allowed, but a package can just as well be written in a different language (C#, Python, Java) or be an XQuery module (presented by the processor using the proper package manifest structure).

This is not a bug in the spec, but it can help readers to understand that a package is a more abstract concept.

Cheers,
Abel
Comment 1 Michael Kay 2016-02-16 09:17:41 UTC
Suggestion: Addition to the intro section in 2.7

Although this specification defines packages as constructs written using a defined XSLT syntax, implementations MAY provide mechanisms that allow packages to be written using other languages.

Change the penult para of 2.7 to start "A package is defined *in XSLT* by....", then add the above para after it.

Resolved to accept this wording.
Comment 2 Abel Braaksma 2016-02-20 15:00:44 UTC
Was this updated in the spec or was it snowed under by the other bug reports?
Comment 3 Abel Braaksma 2016-10-06 21:48:13 UTC
(In reply to Abel Braaksma from comment #2)
> Was this updated in the spec or was it snowed under by the other bug reports?
Reply to my own comment: the changes are visible in the current WD, search for this bug number to see the changes.