OpenMath / OMSTD

The OpenMath Standard (starting with OpenMath 2)
9 stars 5 forks source link

Inconsistencies between abstract CDs in OM2 and omcd2.rnc #22

Open kohlhase opened 6 years ago

kohlhase commented 6 years ago

see https://github.com/OpenMath/OM3/issues/138

davidcarlisle commented 6 years ago

Certainly we shouldn't make cdbase mandatory, we could add some words that say openmath.org/cd could be taken as a default if needed, I thought we had some words like that but perhaps it was in mathml3, I'll propose something

kohlhase commented 6 years ago

Apparently, the abstract CD specification and omcd2.rnc say different things about which fields are mandatory. Here is a list

The contents of CDDefinition seem to macth between OM2 and RNC.

kohlhase commented 6 years ago

Now we have the choice in what to do with these inconsistencies. @lars-hellstrom argues that the RNC is more well-thought-out than OM2. I wonder what the data (i.e. the CDs we have) say.

davidcarlisle commented 6 years ago

I think confirming cdbase is optional is the only possibility really. It's compatible with existing schema and every reference to cdbase in abstract openmath objects, and openmath xml says cdbase is optional so saying it's mandatory in an abstract CD looks like an oversight, however I have no problem with saying abstractly it always has a cdbase, being openmath.org/cd if not specified otherwise.

kohlhase commented 6 years ago

however I have no problem with saying abstractly it always has a cdbase, being openmath.org/cd if not specified otherwise.

I agree that is the way forward for cdbase. But there are more inconsistencies we need to address.