> "empty" and "none" are not valid sequence types. We should try that are > modules are at least parsable by other engines as well, so we should use valid > sequence types.; For "empty" use empty-sequence(). http://www.w3.org/TR/xquery-semantics/#sec_content_models >From this I understand that: - The type empty matches the empty sequence. - The type none matches no values.
>There is not a valid sequence type for "none", but I did not see it used >anywhere. Do you plan to > use it? where? The type none is the static type for [7.2.9 The fn:error function]. > This also means that the code in translator.cpp should be removed. So where should http://www.w3.org/TR/xquery-semantics/#sec_content_models be implemented then? Thanks for the help. -- https://code.launchpad.net/~zorba-coders/zorba/fix_bug_987830/+merge/103370 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : [email protected] Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp

