Hi Jonathan,

Subjected to the JIRA [1] and the E4X spec[2], what should be the correct
result of the E4X query "x.descendants()" where x = [3]? Although I went
through the spec, it was't that much clear.

Simply, should it be [4] or [5] according to the E4X spec?

[1] https://wso2.org/jira/browse/MASHUP-758
[2] http://www.ecma-international.org/publications/standards/Ecma-357.htm

[3] <employees>
      <employee id="0" ><name>Jim</name><age>25</age></employee>
      <employee id="1" ><name>Joe</name><age>20</age></employee>
      </employees>;

[4]
<employee id="0">...</employee>
<name>Jim</name>
Jim
<age>25</age>
25
<employee id="1">...</employee>
<name>Joe</name>
Joe
<age>20</age>
20

[5]
<employee id="0">...</employee>
<name>Jim</name>
<age>25</age>
<employee id="1">...</employee>
<name>Joe</name>
<age>20</age>

-- 
Ruchira Wageesha
Software Engineer - WSO2 Inc. www.wso2.com

Email: [email protected] Blog: [email protected]
Mobile: +94775493444

Lean . Enterprise . Middleware
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to