This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 16742 - Amaya crashes at any opening of xml embedding object referring to external math code
Summary: Amaya crashes at any opening of xml embedding object referring to external ma...
Status: RESOLVED WONTFIX
Alias: None
Product: Amaya
Classification: Unclassified
Component: MathML (show other bugs)
Version: 11.4.4
Hardware: PC Windows XP
: P2 major
Target Milestone: ---
Assignee: Vincent Quint
QA Contact: Vincent Quint
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-15 12:53 UTC by Netsaver
Modified: 2012-04-17 13:18 UTC (History)
5 users (show)

See Also:


Attachments
example files crashing Amaya (804 bytes, application/zip)
2012-04-15 12:53 UTC, Netsaver
Details

Description Netsaver 2012-04-15 12:53:26 UTC
Created attachment 1119 [details]
example files crashing Amaya

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

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 <object> 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's enough to comment the <object> 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
Comment 1 Netsaver 2012-04-15 13:37:16 UTC
Note that Firefox loads correctly both the documents and Amaya loads correctly the referred document (MathObj.xml).
Comment 2 lcarcone 2012-04-17 13:18:23 UTC
Hello Paul,

Indeed, there seems to be a problem with the <object> tag embedding the external mathml file. Unfortunately, there is no new developments on Amaya for the moment and I fear it won't be fixed.
A way to go round this problem is to copy the <mathml> subtree within MathObjTest.xml, instead of the tag <object>, it works well on Amaya and on firefox.
Hope it helps
Laurent