[xquery-talk] XQuery Style Conventions

Michael Kay mhk at mhk.me.uk
Tue Oct 25 00:28:26 PDT 2005


> I tend to think of namespace URIs as opaque strings, whose 
> only property
> is that they are different from or equal to others.

> If you use the module namespace to find the
> module you might get problems, e.g. if you have your module 
> somewhere on
> your hard disk, then URI would be 
> "file:///my/xquery/module.xq". That's
> certainly not a very good distinct namespace URI for a module.

I certainly wouldn't use the module namespace URI as a location, but I would
use "to find the module" via a catalog or URIResolver or similar indirection
mechanism.

Michael Kay
http://www.saxonica.com/




More information about the talk mailing list