<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>16742</bug_id>
          
          <creation_ts>2012-04-15 12:53:26 +0000</creation_ts>
          <short_desc>Amaya crashes at any opening of xml embedding object referring to external math code</short_desc>
          <delta_ts>2012-04-17 13:18:23 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Amaya</product>
          <component>MathML</component>
          <version>11.4.4</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Netsaver">netsaver</reporter>
          <assigned_to name="Vincent Quint">vincent.quint</assigned_to>
          <cc>carcone</cc>
    
    <cc>emilien.kia</cc>
    
    <cc>fred.wang</cc>
    
    <cc>Irene.Vatton</cc>
    
    <cc>vincent.quint</cc>
          
          <qa_contact name="Vincent Quint">vincent.quint</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>66725</commentid>
    <comment_count>0</comment_count>
      <attachid>1119</attachid>
    <who name="Netsaver">netsaver</who>
    <bug_when>2012-04-15 12:53:26 +0000</bug_when>
    <thetext>Created attachment 1119
example files crashing Amaya

It is supposed that a xml file including a math object (&apos;math xml&apos;) can be embedded into a xml file (&apos;main xml&apos;). 

For scientific xml publications it would be required to reference formulas from external xml documents. This for at least two reasons:
1) the big volume required from mml code makes the main body of any scientific article unreadable 
2) the possibility to share the same math code among more articles

In the attached .zip file there is an example of both main article (MathObjTest.xml) and referred math code (MathObj.xml).
Opening the main article with Amaya causes Amaya crashing immediately at processing of the &lt;object&gt; instruction embedding the eternal file.
This happens with all Amaya releases (at least from 11.0) and under Windows XP, Vista, Seven.
BUT there is a possibility to load correctly the article. It&apos;s enough to comment the &lt;object&gt; tag (i.e. outside Amaya), THEN open the file and FINALLY to remove the comment from inside Amaya, refreshing the page: at that point the page is presented correctly and no error is reported!

Regards,
Netsaver Paul</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66726</commentid>
    <comment_count>1</comment_count>
    <who name="Netsaver">netsaver</who>
    <bug_when>2012-04-15 13:37:16 +0000</bug_when>
    <thetext>Note that Firefox loads correctly both the documents and Amaya loads correctly the referred document (MathObj.xml).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66765</commentid>
    <comment_count>2</comment_count>
    <who name="lcarcone">carcone</who>
    <bug_when>2012-04-17 13:18:23 +0000</bug_when>
    <thetext>Hello Paul,

Indeed, there seems to be a problem with the &lt;object&gt; tag embedding the external mathml file. Unfortunately, there is no new developments on Amaya for the moment and I fear it won&apos;t be fixed.
A way to go round this problem is to copy the &lt;mathml&gt; subtree within MathObjTest.xml, instead of the tag &lt;object&gt;, it works well on Amaya and on firefox.
Hope it helps
Laurent</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>1119</attachid>
            <date>2012-04-15 12:53:26 +0000</date>
            <delta_ts>2012-04-15 12:53:26 +0000</delta_ts>
            <desc>example files crashing Amaya</desc>
            <filename>MathObjTest.zip</filename>
            <type>application/zip</type>
            <size>804</size>
            <attacher name="Netsaver">netsaver</attacher>
            
              <data encoding="base64">UEsDBBQAAAAIAGp0j0CJNCdHIQEAAOEBAAAPAAAATWF0aE9ialRlc3QueG1sdZAxT8MwEIX3/IqT
V2hMxUKLnYqFDbGEGV2Ta+IqsYNzNMm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