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 3174 - XQueryX trivial embedding
Summary: XQueryX trivial embedding
Status: CLOSED LATER
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 1.0 (show other bugs)
Version: Candidate Recommendation
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Don Chamberlin
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-02 14:38 UTC by Michael Kay
Modified: 2007-02-25 23:49 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2006-05-02 14:38:17 UTC
The conformance statement for XQueryX trivial embedding (which appears not in the XQueryX book but in XQuery section 5.2.7) is meaningless. It states:

[Definition: A conforming XQuery implementation that supports the Trivial XML Embedding Feature MUST provide the embedding specified in [XQueryX 1.0] Section 5, "A Trivial Embedding of XQuery."]

I need to decide whether my produce "supports" this feature. I therefore need to decide whether it "provides" this embedding. The answer is: I haven't got a single line of code in my product that relates to this feature, but it is nevertheless trivial for users to use this embedding (or any other). They just need to read the string value of the relevant XQueryX element in the containing XML document (easily done with a query) and submit that string to the query processor. Does this constitute support for the feature? I've no idea.

This feature is described in the status section as being "at risk". I would like to propose that it be pulled. The feature is so trivial as to be meaningless: it provides no useful level of interoperability, and users can embed queries in XML documents this way whether we say so or not.
Comment 1 Don Chamberlin 2006-05-02 16:33:04 UTC
I agree with Mike and support his proposal to remove "Trivial XML Embedding" as a separately-identified feature of XQuery.
Comment 2 Jim Melton 2006-06-06 16:32:53 UTC
This bug will be revisited at the end of the CR period. 
Comment 3 Jim Melton 2007-02-25 23:49:53 UTC
Closing bug because commenter has not objected to the resolution posted and more than two weeks have passed.