3

I read WiX documentation.

Time of time in the WiX documentation I see the phrase "Any Attribute (namespace='##other' processContents='lax') Extensibility point in the WiX XML Schema. Schema extensions can register additional attributes at this point in the schema". For example i see it here.

I don't understand this phrase and in particular what is specified in the brackets. I will be grateful for clarification.

Andrey Bushman
  • 11,712
  • 17
  • 87
  • 182

1 Answers1

2

The referenced subphrase namespace='##other' processContents='lax' is XSD terminology; see questions on ##other and processContents for more details on what they directly mean.

In this context, this allows you to insert qualified (i.e. namespaced) attributes into a WiX element and still validate the resulting XML document. Most WiX elements allow both attributes and child elements of this nature. They are used, as the text suggests, to allow for extensions to WiX that process these attributes and elements as part of a build step. You can create your own extensions to automate or simplify specialized tasks that the WiX team doesn't implement in core.

Community
  • 1
  • 1
Michael Urman
  • 15,737
  • 2
  • 28
  • 44