[wix-devs] Simplifying WiX xmlns values

Sean Hall r.sean.hall at gmail.com
Wed Jun 3 18:24:20 PDT 2020


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/
>



More information about the wix-devs mailing list