Bug 16536

Summary: Add XQuery support
Product: WebKit Reporter: Frederick C. Lee <fclee>
Component: XMLAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Enhancement CC: ahmad.saleem792, ap, karlcow, mrowe, webmaster
Priority: P3    
Version: 523.x (Safari 3)   
Hardware: Mac   
OS: OS X 10.5   

Description Frederick C. Lee 2007-12-20 10:13:05 PST
1) Safari 3 apparently doesn't support the latest JavaScript (ECMAScript) release.
    The following E4X script is ONLY supported by Mozilla browsers:

var e = <employees> 
 <employee id="1"><name>Joe</name><age>20</age></employee> 
 <employee id="2"><name>Sue</name><age>30</age></employee> 
</employees>; 
 
var names = e..name;  // get all the names in e 

E4X needs to be supported in Safari for parsing XML data vectors via SIMPLE JavaScript syntax.  This is a valuable asset for interfacing with cross-platform servers.

2) Support XQuery.  XQuery is the SQL-equivalent for XML.
Comment 1 Mark Rowe (bdash) 2007-12-20 10:55:51 PST
Why did you file a bug report requesting E4X support when you were aware of bug 5381 which already covers that topic?

Retitling to match focus of this bug.
Comment 2 Ahmad Saleem 2022-12-27 07:23:05 PST
https://www.w3.org/blog/news/archives/3773 & https://www.w3.org/TR/xquery-30/

Is there any aim to support XQuery 3.0? Or we can close this?
Comment 3 Karl Dubost 2023-05-25 22:37:37 PDT
We can close. :)