url versus urn for namespace uri?

1) Are there any pros and cons for using a URN for a namespace URI?  It seems that most people use URLs but I feel like that adds to the confusion with people expecting that URL to have something there if you go to it with a web browser.

2) If it doesn't matter, is there documentation for the accepted conventions for a schema namespace URN?  Mine starts with the following.


<?xml version="1.0" encoding="UTF-8"?>
<xs:schema
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:ds="urn:publicid:xmlns:objecteffects-com:schema:dataset"
    targetNamespace="urn:publicid:xmlns:objecteffects-com:schema:dataset"
    xsi:schemaLocation="
        http://www.w3.org/2001/XMLSchema
        http://www.w3.org/2001/XMLSchema.xsd"
    elementFormDefault="qualified"
    version="1.0">

    <xs:element
        name="dataset"
        type="ds:DatasetType"
    />

Thanks

Received on Monday, 18 January 2010 09:25:37 UTC