[wix-devs] Simplifying WiX xmlns values

Bob Arnson bob at firegiant.com
Wed Jun 3 20:16:42 PDT 2020


Do we care about minor version versioning?

-----Original Message-----
From: wix-devs <wix-devs-bounces at lists.wixtoolset.org> On Behalf Of Rob Mensching via wix-devs
Sent: Wednesday, 3 June, 2020 23:04
To: WiX Toolset Developer Mailing List <wix-devs at lists.wixtoolset.org>
Cc: Rob Mensching <rob at firegiant.com>
Subject: Re: [wix-devs] Simplifying WiX xmlns values

I forgot that scheme was required on a URI. Honestly, it can serve as the root of the versioned namespace. "wix4" is great.

So, something like:

wix4:WixToolset		- for the "core" namespace.
wix4:WixToolset.Util.wixext	- for the "util" extension. 
wix4:WixToolset.Iis.wixext	- for the "iis" extension. 
wix4:FireGiiant.Msix.wixext 	- for the "MSIX" extension from FireGiant.

I could entertain removing the .wixext from the extensions above, which is shorter and cleaner (but probably not worth the mental load to remember it isn't used):

wix4:WixToolset.Util
wix4:WixToolset.Iis
wix4:FireGiiant.Msix

So, something like:

<Wix xmlns="wix4:WixToolset" xmlns:util="wix4:WixToolset.Util.wixext">

Way easier to remember *and* _versioned_ which is necessary.

Thoughts?

-----Original Message-----
From: wix-devs <wix-devs-bounces at lists.wixtoolset.org> On Behalf Of Sean Hall via wix-devs
Sent: Wednesday, June 3, 2020 6:32 PM
To: WiX Toolset Developer Mailing List <wix-devs at lists.wixtoolset.org>
Cc: Sean Hall <r.sean.hall at gmail.com>
Subject: Re: [wix-devs] Simplifying WiX xmlns values

Actually I think wix:4:core is valid, only the first part must start with a letter.

On Thu, Jun 4, 2020 at 11:24 AM Sean Hall <r.sean.hall at gmail.com> wrote:

> I think the namespace is required to be a URI. So while it would be 
> nice to do those I don't think we can. We could do wix4:core or 
> wix4://Core or WixToolset:Ext:Util or WixToolset:Util.wixext. But we 
> couldn't do wix:4:core since each element must begin with a letter.
>
> On Thu, Jun 4, 2020 at 9:10 AM Rob Mensching via wix-devs < 
> wix-devs at lists.wixtoolset.org> wrote:
>
>> I can *never* remember the xmlns URIs for the various extensions. 
>> They are better in v4 but after writing the extension cache WIP, I 
>> wondered
>>
>>                 What if we used the extension name as the xmlns value 
>> instead of a URI?
>>
>> The result would be:
>>
>> <Wix xmlns="..." xmlns:util="WixToolset.Util.wixext">
>>
>> And on the command-line you'd have:
>>
>> wix.exe build -ext WixToolset.Util.wixext
>>
>> *And* then instead of having to remember the default WiX Toolset 
>> namespace (can you type it in without looking?) we could use just 
>> "WixToolset", so:
>>
>> <Wix xmlns="WixToolset" xmlns:util="WixToolset.Util.wixext">
>>
>> I'm open to other suggestions for the base xmlns, but "WixToolset" is 
>> a pretty good start.
>>
>> Thoughts?
>>
>>   Rob Mensching
>>   CEO
>>   FireGiant
>> _______________________________________________________________
>> FireGiant  |  Dedicated support for the WiX toolset  | 
>> http://www.firegiant.com/
>>
>> ____________________________________________________________________
>> WiX Toolset Developer Mailing List provided by FireGiant 
>> http://www.firegiant.com/
>>
>
____________________________________________________________________
WiX Toolset Developer Mailing List provided by FireGiant http://www.firegiant.com/ ____________________________________________________________________
WiX Toolset Developer Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-devs mailing list