2013/10/31 Christopher Painter <chr...@iswix.com>:
> One of my sreens in ISWIX is the "Namespace" designer.  It's a simple grid
> with checkboxes that display extension prefixes and target namespaces.  I
> created this to make it easier to add references to things like the util
> namespace without looking it up all the time.
>
>  All has been well and recently I've been doing some housekeeping adding
> new WiX extension namespaces.  One of them stood out to me:  the
> Dependency.xsd.  It's the only one in WiX that isn't all lowercase.
>
> Do the cases of prefixes matter?  Is it better to add it as Dependency or
> dependency or does it not matter?
>
> I code looks through a schema directory in my application directory and
> autogenerates the dictionary that backs up the list of available namespaces
> to add to the XML document.

Namespace prefixes are like variable names: they are case-sensitive,
but you can call them whatever you want, as long as the declaration
and the uses are the same (including case).

In other words, even
xmlns:depz="http://schemas.microsoft.com/wix/DependencyExtension"; is
totally valid, as long as you use <depz:Requires> and not
<Depz:Requires> later.

-- 
Nicolás

------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to