[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Namespace Mistake?
On the whole, I think that there is a degree of consensus that changing namespaces when there is a minor change to a vocabulary is a bad idea. It creates too many difficulties for people writing code that has to process more than one version. Using a version attribute in the instance document works better. But having made that mistake, I don't think it makes a great deal of difference whether you use the same prefix or different prefixes. Obviously if the same query references both namespaces then it will have to refer to them by different prefixes. If you use software that is not namespace-aware (or not XML-aware) to process the documents, then using the same prefix may help, since you will be searching on prefixes rather than URIs. But I would hope you aren't doing that... Michael Kay Saxonica On 10 Oct 2013, at 20:34, Timothy W. Cook wrote:
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|