S
Stanimir Stamenkov
Validating this document <http://stanio.info/test_inst.xml> against the
specified schema <http://stanio.info/test_schema.xml> gives me no
errors.
I've wondered why the text content appearing inside the "test-elem" is
considered valid giving the following rules for determining the content
So the ·effective content· of "TestType" is empty and not mixed (to
allow text content) thus resulting in empty content type. Am I missing
something?
specified schema <http://stanio.info/test_schema.xml> gives me no
errors.
I've wondered why the text content appearing inside the "test-elem" is
considered valid giving the following rules for determining the content
type said:3.1 If the <restriction> alternative is chosen, then the
appropriate case among the following:
3.1.1 If the ·effective content· is empty , then empty;
3.1.2 otherwise a pair consisting of
3.1.2.1 mixed if the ·effective mixed· is true, otherwise
elementOnly
3.1.2.2 The ·effective content·.
So the ·effective content· of "TestType" is empty and not mixed (to
allow text content) thus resulting in empty content type. Am I missing
something?