From: Dario Teixeira <darioteixeira@yahoo.com>
To: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] XML library for validating MathML
Date: Thu, 18 Sep 2008 07:26:39 -0700 (PDT) [thread overview]
Message-ID: <38632.29890.qm@web54602.mail.re2.yahoo.com> (raw)
In-Reply-To: <103293.54569.qm@web54606.mail.re2.yahoo.com>
Hi,
First of all, thanks to all for your input -- it was much appreciated.
I second many people's opinion that XML -- though conceptually a good and
well-intentioned idea --- has devolved into a festering plague whose tentacles
have unfortunately spread all around the IT landscape. I'm finding that the
lispy alternative offered by Sexplib is much saner for most serialisation
and data exchange purposes, and that if you need human-readability than a
format like JSON is much friendlier.
Unfortunately, I have to deal with MathML because I am building a web
application (with Ocsigen) that allows users to enter mathematical expressions
in either TeX or MathML format. To prevent cross-site scripting attacks,
I need to make sure the MathML provided by the user is valid and does not
contain any "funny stuff".
As for Xml-light, thanks for confirming that the problem I was having is
most likely do bugs in the library itself. I was hoping Xml-light would be
able to do the job because it's a library you can grok and start using right
away, whereas PXP will require a more significant investment of time. Btw,
Gerd, the problem I have is fairly boilerplate: "here's a DTD and here's a
string with an XML document -- is the document valid according to the DTD?",
perhaps you can add it as an example to the documentation?
Well, off to read the PXP manual!
Thanks for your time,
Dario Teixeira
next prev parent reply other threads:[~2008-09-18 14:26 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-17 18:58 Dario Teixeira
2008-09-17 22:13 ` [Caml-list] " Richard Jones
2008-09-18 2:58 ` Matt Gushee
2008-09-18 8:06 ` Re : " Adrien
2008-09-18 8:38 ` Vincent Hanquez
2008-09-18 9:12 ` Till Varoquaux
2008-09-18 9:44 ` Vincent Hanquez
2008-09-18 11:52 ` Gerd Stolpmann
2008-09-18 13:35 ` Markus Mottl
2008-09-19 11:30 ` Matt Gushee
2008-09-18 14:26 ` Dario Teixeira [this message]
2008-09-18 17:58 ` Dario Teixeira
2008-09-18 18:28 ` Gerd Stolpmann
2008-09-18 20:44 ` Dario Teixeira
2008-09-18 20:48 ` Gerd Stolpmann
2008-09-19 13:23 ` Stefano Zacchiroli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=38632.29890.qm@web54602.mail.re2.yahoo.com \
--to=darioteixeira@yahoo.com \
--cc=caml-list@yquem.inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox