We generally avoid the use of http:// as the root, with one significant exception: When we set up our Schemas database, we use http://lds.org as the root. Then, in schema declarations, we can use http://lds.org/schema/annotations.xsd, for example. If that document were to be taken out of MarkLogic, the declaration will still work.
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Geert Josten Sent: Thursday, January 28, 2010 12:11 PM To: General Mark Logic Developer Discussion Subject: RE: [MarkLogic Dev General] Thoughtful URI naming Hi Karl, > Good ideas, Geert. That's helpful. > > You mentioned avoiding the http protocol format for module > URIs. I would think that it might be a good idea to use that > format for module URIs if there's any chance in the module > being used elsewhere (for example, if you plan to open-source > some part of your work). > Otherwise, I was thinking along the same general lines. I am not really against using http in either document uri's or module uri's, I just don't tend to do so as a personal preference. It looks a bit odd to me, but perhaps I am just fooling myself.. ;-) One thing though is that it might appear to others that the documents and modules are retrieved from internet, which is not the case. Something like doc("http://mycomp.com/mydoc.xml") is really looking in the databases of MarkLogic Server, not accessing internet. It could confuse others.. Kind regards, Geert Drs. G.P.H. Josten Consultant http://www.daidalos.nl/ Daidalos BV Source of Innovation Hoekeindsehof 1-4 2665 JZ Bleiswijk Tel.: +31 (0) 10 850 1200 Fax: +31 (0) 10 850 1199 http://www.daidalos.nl/ KvK 27164984 De informatie - verzonden in of met dit emailbericht - is afkomstig van Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit bericht kunnen geen rechten worden ontleend. _______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. _______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
