Bug 16536 - Add XQuery support
: Add XQuery support
Status: NEW
: WebKit
XML
: 523.x (Safari 3)
: Macintosh Mac OS X 10.5
: P3 Enhancement
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2007-12-20 10:13 PST by
Modified: 2008-06-16 14:00 PST (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 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 From 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.