[cmake-developers] PATCH: add custom xmlns namespaces into generated .wxs sources

Stuermer, Michael SP/HZA-ZSEP michael.stuermer at schaeffler.com
Tue Sep 6 10:05:20 EDT 2016



> -----Original Message-----
> From: Nils Gladitz [mailto:nilsgladitz at gmail.com]
> Sent: Tuesday, September 06, 2016 3:50 PM
> To: Stuermer, Michael SP/HZA-ZSEP; CMake Developers
> Subject: Re: [cmake-developers] PATCH: add custom xmlns namespaces into
> generated .wxs sources
> 
> On 09/06/2016 03:29 PM, Stuermer, Michael SP/HZA-ZSEP wrote:
> 
> >
> > Hm, I don't see how I can add a namespace before my patch fragment. If I
> want to use some element from let's say UtilExtension, I need to add the
> xmlns:util="http://schemas.microsoft.com/wix/UtilExtension" attribute in
> some parent XML node as far as I understand (no XML expert though).
> 
> You only have to declare the namespace on the element itself. There is no
> need for the parent to have it declared.
> 

Every day you learn something new, good. This feels a bit strange, but it works! Obviously the patch is not necessary.

> So unless you object for other reasons I don't think the patch is necessary?
> 
> Nils


More information about the cmake-developers mailing list