RE: Problem in mathml2 schema layout.xsd

David,

Thanks for your quick and helpful response.

Best of luck with mathml3!

Regina Hoag


-----Original Message-----
From: David Carlisle [mailto:davidc@nag.co.uk] 
Sent: Wednesday, July 16, 2008 4:12 AM
To: Hoag, Regina
Cc: www-math@w3.org; Vanderstucken, Wyatt
Subject: Re: Problem in mathml2 schema layout.xsd



> However, the way notation is defined in layout.xsd, only one value is 
> allowed.

Thanks for this fix.

> However, would we run into problems when applications using the 
> published schema take our xml? What would you suggest we do?

There may be some applications that don't render menclosed (even if you
only use one term) but the spec is unambiguous here and the schema
(which is not normative) is clearly more restrictive, so you should
validate to your locally fixed schema and we should consider updating
the one on w3c at some point or (depending what the group decides) at
least make sure it is fixed in the mathml3 schema.


Actually like many MathML attributes the list is defined to be open.


> 3.3.9.2 Attributes
> ...
> The values allowed for notation are open-ended. 

This is why the DTD (which is normative) just types it as

      notation CDATA 'longdiv' >


ie (in xsd terms) just xs:string.

Howver while an open schema is good for implementers to experiment with
interesting extensions it's not so good for driving schema driven
editors and other systems into helping the author avoid or detect
errors, so the schema is (intentionally) over restrictive in some places
however in this case I would say that your version, allowing a white
space list from a fixed set is probably the right level of restriction
in this case, or maybe just relax it to a list of tokens, depending on
the use case here.

David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________

--------------------------------------------------
This e-mail and any files transmitted with it may contain privileged or confidential information.
It is solely for use by the individual for whom it is intended, even if addressed incorrectly.
If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute,
or take any action in reliance on the contents of this information; and delete it from
your system. Any other use of this e-mail is prohibited.

Thank you for your compliance.
--------------------------------------------------

Received on Wednesday, 16 July 2008 12:11:28 UTC