Bugs item #1969136, was opened at 2008-05-21 21:23
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1969136&group_id=105970

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: candle
Group: v3.0
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: turha (turha)
Assigned to: Nobody/Anonymous (nobody)
Summary: preprocessor generates CDATA which fails for ']]>'

Initial Comment:
If the input *.wxs contains "]]>" in element content, encoded as e.g. "]]>", 
then candle fails.  Apparently, the preprocessor tries to wrap every piece of 
text in a CDATA block, but CDATA cannot contain the "]]>" sequence.  The 
easiest fix would be to change the preprocessor not to use CDATA.

Microsoft (R) Windows Installer Xml Compiler version 3.0.4014.0
Copyright (C) Microsoft Corporation 2003. All rights reserved.

cdata.wxs
candle.exe : error CNDL0001 : Cannot have ']]>' inside an XML CDATA block.

Exception Type: System.ArgumentException

Stack Trace:
   at System.Xml.XmlTextWriter.WriteCData(String text)
   at Microsoft.Tools.WindowsInstallerXml.Preprocessor.PreprocessReader(Boolean 
include, XmlReader reader, XmlWriter writer, Int32 offset)
   at Microsoft.Tools.WindowsInstallerXml.Preprocessor.Process(String 
sourceFile, Hashtable variables)
   at Microsoft.Tools.WindowsInstallerXml.Tools.Candle.Run(String[] args)


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1969136&group_id=105970

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to