Hi,

well I don't know about what rules there are for extending the wix
processing of the input XML, but if you are required to write your own
schema to make it work then they should have made  <xs:anyAttribute
namespace="##other" processContents="lax"> to be
 <xs:anyAttribute namespace="##other" processContents="strict">
since they didn't I assume you are allowed to put any attributes in a
namespace outside the wix namespace at this location. So I think the
question is really what you plan to do with the extended xml.

Cheers,
Bryan Rasmussen
>
> Message: 3
> Date: Tue, 5 Aug 2008 07:01:56 +0300
> From: "Dmitry Berkovich" <[EMAIL PROTECTED]>
> Subject: [WiX-users] Question about Extensibility point in the WiX XML
>        Schema
> To: "General discussion for Windows Installer XML toolset."
>        <wix-users@lists.sourceforge.net>
> Message-ID:
>        <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi,
>  I am developing an extension for WiX. I have several types of
> extensions. Part of them need extend <component> element. I have found
> examples in WiX extension how I can extend Xsd schema for this
> requirement.
>
>  My question is how I can add an additional attributes to <File>
> element? I looked at "wix.xsd" file and have found that I can add
> additional attributes to <File> element, since schema look like this:
>    <xs:element name="File">
>        <xs:complexType>
>     ........
>            <xs:anyAttribute namespace="##other" processContents="lax">
>                <xs:annotation><xs:documentation>
>                    Extensibility point in the WiX XML Schema.  Schema
> extensions can register additional
>                    attributes at this point in the schema.
>                </xs:documentation></xs:annotation>
>            </xs:anyAttribute>
>        </xs:complexType>
>    </xs:element>
>
>
> But I don't know how I need write my own xsd. Can somebody send me
> example of xsd file that add new attribute, for example "MyAttribute"
> that contains string to <File> element.
>
> Thanks in advance,
>  Dima
>
>
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to