Re: W3 XML Schema validation problem

Max

> >>ERROR in parsing
> >>   file
> >> "file:///c:/webb/work/library/mathml/mathml2/content/constructs.xsd",
> >> line 50
> 
> That's probably not the right line number, since there's the
> definition of fn.type (which we should remove, by the way,
> as fn is deprecated). So it's a bit hard to debug.
> 

it is the fn type that has an ambiguous content model, but the real
error is a couple of lines up in the definition of fn.content
which is a choice group between Content-expr,class and
Presentation-expr.class these are (currently at least) defined in
common/math.xsd to be the same thing, so this content model is highly
mbiguous, ever element in the choice appears twice, the solution is
to remove/comment-out the  the reference to Presentation-expr.class on
line 46 of constructs.xsd.

David


________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Received on Friday, 20 June 2003 09:56:18 UTC