Does XML Schema Inheritance work in the same sense as OOP Inheritance?

I found the answer myself after a bit of reading. Hopefully this question will come to use for someone else. The resource to read is here which defines how JAXB handles extending base types in XML Schema definitions.

I found the answer myself after a bit of reading. Hopefully this question will come to use for someone else. The resource to read is here, which defines how JAXB handles extending base types in XML Schema definitions.

Quick and short, yes, JAXB views extension in schema as inheritance in Java.

Xs:extension's base attribute must reference a type. This is a built-in type, simple type you define with a name, or a complex type you define with a name. So you could define types that correspond to your elements in the example (ConditionType, StateConditionType, etc.) and apply them to your named attributes.

Then in your base schema, you can define a xs:choice to insure that you choose at least one of the elements you define.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions