Виталий Каточка <[EMAIL PROTECTED]> writes: > > Hello,I am have a query:let $xml := (<root> <data id="1" title="hello"/> <data id="2" title="how are you?" description=""/> > <data id="3" title="Ben, I need help :)" description="descr"/></root>)for $a in $xml/datareturn ( data($a/ <at> id), data($a/ <at> title), data($a/ <at> description) > )It's result in Sedna Admin:===1hello2how are you?3I need help :)descr===Why for id=1. Empty value is not present in result. It's bug?I am use php function sedna_result_array(), and I am get some problems with sequence. > Exmaple if use function array_chunk().Thx for replay. Vitaliy. > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url!=/ > > _______________________________________________ > Sedna-discussion mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/sedna-discussion >
Hello, Vitaliy. As soon as empty sequence cannot be a member of result sequence (please, refer to XQuery data model) this behavior is correct. This is not a bug. Best regards, Ilya Taranov, Sedna Team. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Sedna-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sedna-discussion
