Version française
Home     About     Download     Resources     Contact us    
Browse thread
XML library for validating MathML
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Vincent Hanquez <tab@s...>
Subject: Re: [Caml-list] XML library for validating MathML
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