Public bug reported:

The following query…

count((
  for $i in 1 to 10
  where attribute { 'a'[$i] } { () }
  return $i
))

…yields 10 instead of XPTY0004.

Hope this helps,
Christian

** Affects: zorba
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/1018196

Title:
  Attribute constructor with empty QName

Status in Zorba - The XQuery Processor:
  New

Bug description:
  The following query…

  count((
    for $i in 1 to 10
    where attribute { 'a'[$i] } { () }
    return $i
  ))

  …yields 10 instead of XPTY0004.

  Hope this helps,
  Christian

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/1018196/+subscriptions

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to     : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp

Reply via email to