- From: Jeni Tennison <jeni@jenitennison.com>
- Date: Fri, 15 Nov 2002 18:47:51 +0000
- To: xmlschema-dev@w3.org, Jeremy Vander Kam <jvanderkam@mail.arc.nasa.gov>
Hi Jeremy, > I have the following schema: Your schema looks non-deterministic to me. Your content model is: ((Coefficients, WeightEquation, Weight, WeightUpperLimit?, WeightLowerLimit?, ReferenceWeight?, CenterOfGravity?, MomentOfIntertia?, Mass?, MERReference?) | (Coefficients, Equation, EquationValue, Reference?)) The fact that "Coefficients" starts both sequences means that when it encounters a <Coefficients> element, the validator can't work out which of the sequences it should be using. Try re-jigging your schema so that the content model is: (Coefficients, ((WeightEquation, Weight, WeightUpperLimit?, WeightLowerLimit?, ReferenceWeight?, CenterOfGravity?, MomentOfIntertia?, Mass?, MERReference?) | (Equation, EquationValue, Reference?))) Cheers, Jeni --- Jeni Tennison http://www.jenitennison.com/
Received on Friday, 15 November 2002 17:10:17 UTC