Hello everyone,
How should I re-design XML schema in this scenerio?
Lets say my intial version (1.0) has element
<Sickness>Cold</sickness>
My new vesrion needs adding a sequence of properties like
<sickness>
<type>Contagious</type>
cold
</sickness>
1) Should I care about backward compatibility when I re-desin my schema?
2) Should I change schema and say "cold" as another new element?
My new schema looks like folowing
<complextype name="sicktype" mixed="true">
<sequence>
<element name="type" type="string/>
</sequence>
</complextype>
Is the above OK?
Thanks in advance
How should I re-design XML schema in this scenerio?
Lets say my intial version (1.0) has element
<Sickness>Cold</sickness>
My new vesrion needs adding a sequence of properties like
<sickness>
<type>Contagious</type>
cold
</sickness>
1) Should I care about backward compatibility when I re-desin my schema?
2) Should I change schema and say "cold" as another new element?
My new schema looks like folowing
<complextype name="sicktype" mixed="true">
<sequence>
<element name="type" type="string/>
</sequence>
</complextype>
Is the above OK?
Thanks in advance