You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The behavior of an XPath expression on an XMLDocument is different between the Darwin version of Foundation and the Linux version. On Darwin Foundation the query appears to be rooted at the document node while in corelibs-foundation the query appears to be rooted at the root element node. I suspect the divergence may have been introduced in commit 136108621e680b2167a96f0b9e901e71db5ddc25:
Attachment: Download
Additional Detail from JIRA
md5: 201503af900cd7a29fb5e6d6bd87e070
Issue Description:
The behavior of an XPath expression on an XMLDocument is different between the Darwin version of Foundation and the Linux version. On Darwin Foundation the query appears to be rooted at the document node while in corelibs-foundation the query appears to be rooted at the root element node. I suspect the divergence may have been introduced in commit 136108621e680b2167a96f0b9e901e71db5ddc25:
See attached Playground.
On Xcode 10.0 I get the following:
On Ubuntu 16.04 (Swift 4.2-RELEASE) I get this output:
The text was updated successfully, but these errors were encountered: