The implementation of nilled was wrong it always returned false.
So I fixed it, but now different tests fail, the thing with this now failing tests is that.
when you send the query
fn:nilled(<a xsi:nil="true" />) should return false but it returns true
zorba auto assigns xsi prefix to the namespace "http://www.w3.org/2001/XMLSchema-instance" and also it validates it automatically, I don't know if this is intended.
But without considering that it should return false because 1) The namespace is never specified (unless auto assigning xsi to the namespace "http://www.w3.org/2001/XMLSchema-instance" is intended) and/or 2) because is not validated against a schema
Any idea of what zorba do in an automatic way, and is there a way to turn it off for testing?
The implementation of nilled was wrong it always returned false.
So I fixed it, but now different tests fail, the thing with this now failing tests is that.
when you send the query
fn:nilled(<a xsi:nil="true" />) should return false but it returns true
zorba auto assigns xsi prefix to the namespace "http:// www.w3. org/2001/ XMLSchema- instance" and also it validates it automatically, I don't know if this is intended.
But without considering that it should return false because 1) The namespace is never specified (unless auto assigning xsi to the namespace "http:// www.w3. org/2001/ XMLSchema- instance" is intended) and/or 2) because is not validated against a schema
Any idea of what zorba do in an automatic way, and is there a way to turn it off for testing?