[om] Newbie questions on the meaning of the Attribution Element
Manfred Riem
mriem at win.tue.nl
Sun Jan 12 22:19:08 CET 2003
Well,
No, an application is free to disregards the entire attribution
depending on its need. The OMObject needs to be a valid object
after stripping the attribution. In your example this means
that you would strip the attribution and reattach the new LaTeX
encoding after evaluation.
And yes if you would try to evaluate subparts of the OpenMath
object you would end up with an attribution you wouldn't want
to be attached to the result of the evaluation.
Grtz,
Manfred Riem.
-----Original Message-----
From: owner-om at openmath.org [mailto:owner-om at openmath.org] On Behalf Of
Cem Karan
Sent: Sunday, January 12, 2003 3:04 PM
To: om at openmath.org
Subject: Re: [om] Newbie questions on the meaning of the Attribution
Element
OK, so they are totally open to anything...does this mean that all
applications need to understand all of the attributions of an element?
Using your example of the LaTeX encoding, lets say that I have an
application that is able to output the answer to 2+5, but it doesn't
understand LaTeX. The numbers and plus sign have been attributed so
that you can output the string '2+5'. My application operates on the
2+5 to get 7. I'm assuming that if it then outputs 7 in the XML
encoding using the content dictionary that provided the encodings for
the other numbers, it will automatically output the correct attribution
as well. I'm asking this because there might be a way (no, I can't
think of one off of the top of my head) to create an attribute that is
'out of sync' with their corresponding elements. If there isn't, then
I can break my code into much smaller portions, having each portion
operate only on the part of the OM object that it understands, rather
than having to understand everything at once.
Thanks,
Cem Karan
--
om at openmath.org - general discussion on OpenMath
Post public announcements to om-announce at openmath.org
Automatic list maintenance software at majordomo at openmath.org
Mail om-owner at openmath.org for assistance with any problems
More information about the Om
mailing list