caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Vincent Hanquez <tab@snarc.org>
To: Till Varoquaux <till.varoquaux@gmail.com>
Cc: Dario Teixeira <darioteixeira@yahoo.com>, caml-list@yquem.inria.fr
Subject: Re: [Caml-list] XML library for validating MathML
Date: Thu, 18 Sep 2008 10:44:23 +0100	[thread overview]
Message-ID: <20080918094423.GA15508@snarc.org> (raw)
In-Reply-To: <9d3ec8300809180212r7e3dcdf3wd13c5cff69d5034b@mail.gmail.com>

On Thu, Sep 18, 2008 at 10:12:26AM +0100, Till Varoquaux wrote:
> PXP is tough to work with and feels a bit crazy but it is good with
> standards (It can sort out any DTD's I have ever thrown at it).
> xml-light is, well, very broken (it doesn't even support charcode
> switching). There are several XML parsers in OCaml and I've had a
> stint with a few of them; the only two I would consider using are
> expat and Pxp with a marked preference for the later. PXP can be very
> confusing and feels over engineered at times but it does the job.

it's over engineered .. just like the XML spec :)

I don't do DTD validation, and i had great success with xmlm which is
_much_ better in term of XML compliance.

> And
> remember parsing XML is a hard job, much harder than we often give it
> credit for....

I certainly agree. it's hard, and also slow to parse.
i tends to prefer alternative formats nowadays.

-- 
Vincent


  reply	other threads:[~2008-09-18  9:44 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 [this message]
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
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=20080918094423.GA15508@snarc.org \
    --to=tab@snarc.org \
    --cc=caml-list@yquem.inria.fr \
    --cc=darioteixeira@yahoo.com \
    --cc=till.varoquaux@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).