Re: [WiX-users] XML Namespace Prefix Question
2013/11/4 Christopher Painter : > I did see that either would build if I was consistent. Is one or the other > more correct? In other words, are there any tutorials or code samples out > there that people might be copying and pasting that I would want to match > prefix case with? ( I know plenty like this exists for the util extension. ) You should be consistent with the official howto! http://wixtoolset.org/documentation/manual/v3/howtos/author_product_dependencies.html ;) -- 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
Re: [WiX-users] XML Namespace Prefix Question
I did see that either would build if I was consistent. Is one or the other more correct? In other words, are there any tutorials or code samples out there that people might be copying and pasting that I would want to match prefix case with? ( I know plenty like this exists for the util extension. ) From: "Nicolás Alvarez" Sent: Monday, November 04, 2013 12:16 PM To: "General discussion about the WiX toolset." Subject: Re: [WiX-users] XML Namespace Prefix Question 2013/10/31 Christopher Painter : > 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 and not 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 -- 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
Re: [WiX-users] XML Namespace Prefix Question
2013/10/31 Christopher Painter : > 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 and not 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
Re: [WiX-users] XML Namespace Prefix Question
In XML case always matters. It’s only in “content” areas where the underlying application may choose to ignore case where it might not be (such as file system paths). Namespaces are always case sensitive. (unless you are referring only to the file name and not the actual namespace (which looks like a URI) in which case it depends on the settings of your underlying file system) Blair From: Christopher Painter Sent: Wednesday, October 30, 2013 8:18 PM To: General discussion for Windows Installer XML toolset. 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. Thanks, Chris -- 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 -- 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
[WiX-users] XML Namespace Prefix Question
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. Thanks, Chris -- 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