[wix-devs] Simplifying WiX xmlns values

Christopher Painter chrpai at iswix.com
Wed Jun 3 16:52:55 PDT 2020


Same here. That's why I wrote the Namespaces designer for IsWiX.  It reflects a directory of XSD files to build a clickable table to easily add/remove them from your document.


________________________________
From: wix-devs <wix-devs-bounces at lists.wixtoolset.org> on behalf of Rob Mensching via wix-devs <wix-devs at lists.wixtoolset.org>
Sent: Wednesday, June 3, 2020 6:10 PM
To: WiX Toolset Developer Mailing List <wix-devs at lists.wixtoolset.org>
Cc: Rob Mensching <rob at firegiant.com>
Subject: [wix-devs] Simplifying WiX xmlns values

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