Is it so hard to generate compliant software ?

    I'm currently working on a site about and with Math... having in my mind
that I must make it 2005 compatible :))... I considered a good approach
MathML for mathematical expressions and SVG for drawings related to
mathematics... I want to be compliant with W3C REC as much as I can...
BUT... I'm facing some problems...
    The general question is:
        Is it so hard to generate compliant software ?
Step by step:
    _SVG_: SVG can't be directly put in HTML... let's say that time will
deal with this... but I wonder... why ADOBE made not one... not two... but 3
available MIME-types for SVG files...??? (image/svg, image/svg-xml,
image/svg+xml)... when SVG-REC only talks about the last one... Another
thing is that <OBJECT> sometime fails... it should be as simple as
    <OBJECT type="image/svg+xml" width=".." height=".."
data="some_file.svg"></OBJECT>... but that is not working... thus we are
forced to use the <EMBED> tag witch is not in any REC !!!

    _MathML_: ... here are tons to discuss... same thing... MIME-type...
techexplorer recognizes "text/mathml" which has been deprecated by MathML2.0
in favor of "application/mathml+xml" (which, IMHO, is more appropriate)...
is it so hard to change some code lines to switch to another MIME-type ? But
that's not all with techexplorer... following the instructions on the site
(Putting mathematics on the Web with MathML)... I get nothing...

    I believe that Adobe as well as IBM are in W3C... so I would not expect
compliant software from other companies since companies in W3C generate
NotThatCompliant software...

Now to my MathML problem !!

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="mathml.xsl"?>
<html xmlns="http://www.w3.org/1999/xhtml">
[......HTML 4.01 strict DTD....]
<math xmlns="http://www.w3.org/1998/Math/MathML">
 <maction actiontype="tooltip">
 <mtable frame="solid">
   <mtr> <mtd> <mi>p</mi> </mtd>
     <mtd><apply><not/><ci>p</ci></apply></mtd></mtr>
   <mtr> <mtd><mn>1</mn></mtd>
     <mtd><mn>0</mn></mtd></mtr>
   <mtr> <mtd><n>0</mn></mtd>
    <mtd><mn>1</mn></td></mtr></mtable>
 <mtext linebreak="badbreak">Table valorilor de adevar pentru
negatie.</mtext></maction>
</math>
[......HTML 4.01 strict DTD....]
[......MathML....]
[......HTML 4.01 strict DTD....]
[......MathML....]
... and so on...
    Where is the flaw ? instead of Math expression I get "p p 1 0 0 1" ???
Gabriel Preda - gabriel_p@rol.ro

Received on Monday, 24 June 2002 00:18:42 UTC