Bug 16536 - Add XQuery support
Summary: Add XQuery support
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: XML (show other bugs)
Version: 523.x (Safari 3)
Hardware: Macintosh OS X 10.5
: P3 Enhancement
Assignee: Nobody
Depends on:
Reported: 2007-12-20 10:13 PST by Frederick C. Lee
Modified: 2008-06-16 14:00 PDT (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
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> 
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.