logo       

[ wix-Bugs-1244670 ] Another object on this page already uses the ID "---": msg#00113

windows.devel.wix.devel

Subject: [ wix-Bugs-1244670 ] Another object on this page already uses the ID "---"

Bugs item #1244670, was opened at 2005-07-25 10:46
Message generated for change (Settings changed) made by robmen
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1244670&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: votive
>Group: v3.0
Status: Open
Resolution: None
Priority: 5
Submitted By: Eric Bickle (shadowchaser)
Assigned to: Justin Rockwood (justinrockwood)
Summary: Another object on this page already uses the ID "---"

Initial Comment:
When attempting to build my WiX project, I get the
multiple error with the description: "Another object on
this page already uses the ID '---'".

It appears as though the XML validator in voltive is a
little to agressive.

For example, component references have an attribute
titled "Id", which is designed to reference <Component>
elements that have the exact same id. The XML
Validator/WiX builder detects the duplicate "Id"
elements and considers it an error, even though it is
now.

<Feature Id="CompleteFeature" Title="Complete"
Level="1">
<ComponentRef Id="RegistrySetupDetails" />
<ComponentRef Id="EHS_Manager.exe" />

In addition, many of your samples use component IDs
that are the same as their file IDs, for example:
<Component Id="HealthSpace.Data.dll" ...>
<File Id="HealthSpace.Data.dll" ...>
</Component>

Is this correct? If it is, the validator also incorrectly flags
them as duplicate. Wouldn't a duplicate ID only apply
across a single element type, not the entire project?

I would also seriously consider
changing "ComponentRef Id" to something else - "Id" is
generally used as a unique identifier for an element, and
in this case it is a reference. Perhaps changing this
attribute to a different name would be a good idea?

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

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


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise