Peter Mularien (Migrated from SEC-1416) said:
Since requires-channel only works properly in the namespace configuration with the values 'https', 'http', or 'any' (ChannelAttributeFactory will throw an exception otherwise), it seems that it would make sense to restrict the available values by a schema declaration of xs:restriction on this attribute, much as is done with other restricted attributes.
The modified attribute declaration would look like this:
<xs:documentation>Used to specify that a URL must be accessed over http or https, or that there is no preference. The value should be "http", "https" or "any", respectively.</xs:documentation>
Luke Taylor said:
This used to be the case (see the 2.0.x schema for example). Unfortunately we can't support placeholders this way, and people requested that it be changed (see previous issues).