From: Evgeny G. <gaz...@gm...> - 2010-06-11 15:46:16
|
2010/6/11 Thomas White <tho...@gm...>: > I have tried to make util:map-module work and after some chalenging moments > I would like to ask have some questions. > > 1. When the util:map-module is called is there any check if the URI to > module actually points to an existing file? No > 2. What happins if the URI is incorrent and it does not point to an existing > module file? You will have error message about not founded module source > 3. How do I see the actuall URI that is mapped to a namespace? Is it realy need? the mapped path are not changing aftrer mapping > I think util:map-module should return true() if the mapping is successful ie > the mapped module exists AND there are no compilation errors in it. > To me only this is a success completion of the command. Otherwise we can map > a module today and a week later when an XQuery tries to use the module it > will throw and error for a missing module or a an error in the module. > This is not a function of mapping. Mapping is full analog of "at" clause. So all your questions are actial for case when you use the "at" clause. > Any comments? > > Thomas > > -- Evgeny > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > |