don't think it's a bug because you call data($a/@description) on a node without this attributes
but may im wrong PJ Виталий Каточка wrote: > 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/data > return ( > data($a/@id), > data($a/@title), > data($a/@description) > ) > > It's result in Sedna Admin: > === > 1 > hello > 2 > how are you? > > 3 > I 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 > ------------------------------------------------------------------------- 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
