Hello, We think we've found something that looks like a bug. In the minimal file test_A.xqm, we declare a default namespace and a function with a very simple path annotation (without variable). It works just fine. In test_B.xqm, we just declare a function with a variable in its path annotation. This is OK as well. In test_C.xqm, we declare both a default namespace and a path annotation with a variable. This raises a NullPointerException as you can see in error.html (which also provide version number informations). The choice between variables in path annotation and default element namespace is a difficult one! We'd like to use them both! Or are we missing something ? Best, Jean-Philippe -- Jean-Philippe Magué Maître de Conférences en Humanités Numériques Responsable de l'Atelier des Humanités Numériques : ahn.ens-lyon.fr Ecole Normale Supérieure de Lyon +33 (0)4 26 23 38 08 -- "Using computers will therefore lead us to a more profound and systematic knowledge of human expression; in principle, it can help us to be more humanistic than before." Busa, 1980.