I have the following xml file
<Layout xmlns="http://tempuri.org/Layout/">
<Numeric Id="temperature" Caption="Temperature">
<validation:IsValidWhen xmlns:validation="http://tempuri.org/Validation/">
</validation:IsValidWhen>
</Numeric>
</Layout>
The http://tempuri.org/Layout/
XSD does not have a reference to http://tempuri.org/Validation/
and I cannot change it.
I am getting the error
The element 'Numeric' in namespace 'http://tempuri.org/Layout/' has invalid child element 'IsValidWhen' in namespace 'http://tempuri.org/Validation/'. List of possible elements expected: 'ContextMenu, OnChanged, OnLeave' in namespace 'http://tempuri.org/Layout/'
How can I make this XML be valid when the parent element is from a schema that is not aware of my validation schema?