OpenMath Content Dictionary: error

Canonical URL:
http://www.openmath.org/cd/error.ocd
CD File:
error.ocd
CD as XML Encoded OpenMath:
error.omcd
Defines:
unexpected_symbol, unhandled_symbol, unsupported_CD
Date:
2001-03-12
Version:
2
Review Date:
2003-04-01
Status:
official
Uses CD:
arith1, specfun1


unhandled_symbol

This symbol represents the error which is raised when an application reads a symbol which is present in the mentioned content dictionary, but which it has not implemented.

When receiving such a symbol, the application should act as if it had received the OpenMath error object constructed from unhandled_symbol and the unhandled symbol as in the example below.

Example:
The application does not implement the Complex numbers:
<OMOBJ>
  <OME>
    <OMS cd="error" name="unhandled_symbol"/>
    <OMS cd="setname1" name="C"/>
  </OME>
</OMOBJ>

Error(unhandled_symbol, C)

Signatures:
sts


[Next: unexpected_symbol] [Last: unsupported_CD] [Top]

unexpected_symbol

This symbol represents the error which is raised when an application reads a symbol which is not present in the mentioned content dictionary.

When receiving such a symbol, the application should act as if it had received the OpenMath error object constructed from unexpected_symbol and the unexpected symbol as in the example below.

Example:
The application received a mistyped symbol
<OMOBJ>
  <OME>
    <OMS cd="error" name="unexpected_symbol"/>
    <OMS cd="arith1" name="plurse"/>
  </OME>
</OMOBJ>

Error(unexpected_symbol, plurse)

Signatures:
sts


[Next: unsupported_CD] [Previous: unhandled_symbol] [Top]

unsupported_CD

This symbol represents the error which is raised when an application reads a symbol where the mentioned content dictionary is not present.

When receiving such a symbol, the application should act as if it had received the OpenMath error object constructed from unsupported_CD and the symbol from the unsupported Content Dictionary as in the example below.

Example:
The application does not know about the CD specfun1
<OMOBJ>
  <OME>
    <OMS cd="error" name="unsupported_CD"/>
    <OMS cd="specfun1" name="BesselJ"/>
  </OME>
</OMOBJ>

Error(unsupported_CD, BesselJ)

Signatures:
sts


[First: unhandled_symbol] [Previous: unexpected_symbol] [Top]