Lists Home |
Date Index |
Pete, mixed content and data organisation might very well be
orthogonal - which I take you to mean "at odds with." But the problem
at hand is helping Razvan figure out how to interpret the silly
multiple-choice tests on the XML certification exam. Not thinking too
hard about the questions - and using the standard process of elimination
I described - might just be the trick.
William J. Kammerer
Columbus, OH 43221-3859 . USA
+1 (614) 487-0320
----- Original Message -----
From: "Kirkham, Pete (UK)" <email@example.com>
To: "William J. Kammerer" <firstname.lastname@example.org>;
Sent: Monday, 28 February, 2005 05:12 AM
Subject: RE: [xml-dev] Quiz: XML flexibility
> William J. Kammerer [mailto:email@example.com]
>And thinking about it, applying the "mixed content model" to XML
>documents does work (for flexibility). You can't predict ahead of time
>how data is to be organized, even if you do know you have to send it.
My understanding was that mixed content and data organisation were
Certainly XSD claims to fully restrict mixed content.
Under the XML Schema mixed model, the order and number of child elements
appearing in an instance must agree with the order and number of child
elements specified in the model.
The only difference between mixed and not-mixed content is that /DTD/
validation of mixed content doesn't restrict the elements allowed; it
doesn't mean you can't validate it with something else. In either case,
performing no validation would be more liberal still.