Bugs item #1780431, was opened at 2007-08-23 09:10
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=1780431&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: extensions
Group: v3.0
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: John Hancock (jhancock93)
Assigned to: Scott Kurtzeborn (scotk)
Summary: XmlFile action does not work with utf-16 encoded XML
Initial Comment:
A util:XmlFile action fails on an XML with utf-16 encoding with the following
error:
ExecXmlFile: Error 0x8007006e: failed to load XML file:
C:\<MyDirectory>\Config.xml
Sample component:
<Component Id="ConfigFile" Guid="YOUR-GUID-HERE" DiskId="1">
<File Id="Config.xml" Name="Config.xml" ReadOnly="no" Vital="yes"
KeyPath="yes" />
<util:XmlFile Id ="Config_DBName" File="[INSTALLLOCATION]Config.xml"
Action="setValue" ElementPath="//Config/DBName" Value="[DB_NAME]"/>
</Component>
Sample Config.xml:
<?xml version="1.0" encoding="utf-16"?>
<Config>
<DBName>DatabaseName</DBName>
</Config>
If the encoding in Config.xml is changed to "utf-8", then the XmlFile action
succeeds.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1780431&group_id=105970
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs