Wow, thanks for the fast answer!

> -----Original Message-----
> From: Nils Gladitz [mailto:nilsglad...@gmail.com]
> Sent: Tuesday, September 06, 2016 2:29 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 01:32 PM, Stuermer, Michael SP/HZA-ZSEP wrote:
> 
> > best regards,
> > Michael
> 
> Can you elaborate your use case for the patch?
> 
> I assume this if for custom patch fragments?
> In that context wouldn't it suffice to add the namespace declarations to the
> elements that need them (in the patch fragment itself)?
> 

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). When patching an 
element, I cannot set attributes within the actual parent node I am patching.

For now I managed to move all usages of additional namespace to custom WIX 
sources, so I do not depend on this patch anymore. Nevertheless I believe it's 
a good thing being able to influence the used namespaces.

> The patch is also missing documentation for the new
> CPACK_WIX_NAMESPACES variable that it introduces.
> 

Oh, right. Sorry. I will provide it (if the change will be accepted).
 

> Thanks.
> 
> Nils
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to