This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
ForExprType060 should expect a static type check error (XPTY0004) for static typing implementations. The declared type of variable '$test' is 'processing-instruction(filesystem)' but its value has static type 'processing-instruction()'. (: Name: ForExprType060 :) (: Description: FLWOR expressions with type declaration. Type declaration matcin g named PI nodes :) declare namespace fs="http://www.example.com/filesystem"; (: insert-start :) declare variable $input-context as document-node(element(*, xs:untyped)) externa l; (: insert-end :) for $test as processing-instruction("filesystem") in ($input-context//fs:Folder) [1]//processing-instruction() return $test
Ups, closed this one by mistake, reopening.
Should be fixed in CVS.
Thanks.