Re: [WiX-users] Conditional registry key using CheckBox control : Why CDATA?

2007-04-20 Thread Ricardo Lopes

No special reason, was just trying ;-)

Is the same to use:



or

StartAppWithWindows = 1


Ricardo Lopes.

On 20/04/07, Anthony Wieser <[EMAIL PROTECTED]> wrote:


 Why in so many examples is this written:
  

I thought CDATA was only required for when XML reserved items were
included, like <, >, and &.

Am I missing something, or is it just mystically copied around?

Anthony Wieser
Wieser Software Ltd

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users





--

Ricardo Lopes
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Conditional registry key using CheckBox control :Why CDATA?

2007-04-20 Thread Richard.Foster
Anthony,

 

I think the reason you see it so much is that giving out a sample this
way is "safe". You are perfectly correct that you don't need it unless
there are XML reserved items, but it seems that (unfortunately) huge
numbers of developers don't understand the requirement to encapsulate
those characters in a CDATA block or encode them properly. By giving
examples in this form, when someone modifies the test to be an
inequality instead of an equality they don't get bitten! I'm sure it's
also easier for tools like Dark and Votive to always drop things in a
CDATA block than go through the extra steps of testing first to see if
it is necessary.

 

Regards,

Richard

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Anthony
Wieser
Sent: Friday, April 20, 2007 12:13 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Conditional registry key using CheckBox control
:Why CDATA?

 

Why in so many examples is this written:

  


 

I thought CDATA was only required for when XML reserved items were
included, like <, >, and &.

 

Am I missing something, or is it just mystically copied around?

 

Anthony Wieser

Wieser Software Ltd




* C O N F I D E N T I A L I T Y N O T I C E *
---
The content of this e-mail is intended solely for the use of the individual or 
entity to whom it is addressed. If you have received this communication in 
error, be aware that forwarding it, copying it, or in any way disclosing its 
content to any other person, is strictly prohibited. Peek Traffic Corporation 
is neither liable for the contents, nor for the proper, complete and timely 
transmission of (the information contained in) this communication. If you have 
received this communication in error, please notify the author by replying to 
this e-mail immediately and delete the material from any computer.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Conditional registry key using CheckBox control : Why CDATA?

2007-04-20 Thread Anthony Wieser
Why in so many examples is this written:
   


I thought CDATA was only required for when XML reserved items were included, 
like <, >, and &.

Am I missing something, or is it just mystically copied around?

Anthony Wieser
Wieser Software Ltd-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users