Last Comment Bug 760707 - Allow layout/mathml/updateOperatorDictionary.pl to download and convert the W3C dictionary
: Allow layout/mathml/updateOperatorDictionary.pl to download and convert the W...
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: MathML (show other bugs)
: Trunk
: All All
: -- normal (vote)
: mozilla16
Assigned To: Frédéric Wang (:fredw)
:
: Anthony Jones (:kentuckyfriedtakahe, :k17e)
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-01 15:18 PDT by Frédéric Wang (:fredw)
Modified: 2012-06-09 19:40 PDT (History)
2 users (show)
ryanvm: in‑testsuite-
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
Patch V1 (5.83 KB, patch)
2012-06-01 15:19 PDT, Frédéric Wang (:fredw)
karlt: review+
Details | Diff | Splinter Review

Description Frédéric Wang (:fredw) 2012-06-01 15:18:52 PDT
I open this bug just to add new commands to layout/mathml/updateOperatorDictionary.pl

"./updateOperatorDictionary.pl download" will download the file unicode.xml from "XML Entity Definitions for Characters" and convert it to the simple dictionary.xml file.

"./updateOperatorDictionary.pl clean" will allow to clean up temporary files.

To do the XSLT conversion, I've used the XML::LibXSLT module which seems much more efficient than XML::XSLT. So I've also replaced XML::DOM by XML::LibXML.
Comment 1 Frédéric Wang (:fredw) 2012-06-01 15:19:49 PDT
Created attachment 629366 [details] [diff] [review]
Patch V1
Comment 2 Ryan VanderMeulen [:RyanVM] 2012-06-09 09:29:23 PDT
https://hg.mozilla.org/integration/mozilla-inbound/rev/db442eb60f9a
Comment 3 Ryan VanderMeulen [:RyanVM] 2012-06-09 19:40:56 PDT
https://hg.mozilla.org/mozilla-central/rev/db442eb60f9a

Note You need to log in before you can comment on or make changes to this bug.