Announcement

Collapse
No announcement yet.

ungültiger xquery ausdruck

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • ungültiger xquery ausdruck

    Hallo zusammen,

    hab mich da mal ein bißchen mit xQuery versucht- hab folgenden Ausdruck
    Code:
    <ergebnis> {
    let $list := for $i in (1,2,3) return <i>{ $i }</i>
    return ($list , $i) } </ergebnis>
    und erhalte folgende Fehlermeldung:
    Error on line 3 column 19
    XPST0008: XQuery static error in #...$i }</i> return ($list , $i) }#:
    Variable $i has not been declared
    XPST0008: XQuery static error in #...$i }</i> return ($list , $i) }#:
    Variable $i has not been declared
    <impossible to build the stack trace>

    weiß jemand, was das jetzt konkret bedeutet? Kann es sein, dass die variable $i nur einmal im return statement stehen darf?
    vielen dank
Working...
X