English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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: 2008-09-18 (02:59)
From: Matt Gushee <matt@g...>
Subject: Re: [Caml-list] XML library for validating MathML
Oops, shoulda sent to the list first time. Sorry, Rich.

Richard Jones wrote:
> On Wed, Sep 17, 2008 at 11:58:05AM -0700, Dario Teixeira wrote:
>> There are of course other XML libraries for Ocaml and let's not forget Cduce.
>> Can someone recommend one solution that is guaranteed to work with the
>> MathML DTD?  Note that I don't need to do much with the XML tree; pretty
>> much all I need is a boilerplate function that returns a boolean on whether
>> a string is valid or not.
> Well ... PXP is supposed to be able to validate.  No idea if it can
> validate MathML though.

I've never worked with MathML, but the XML 1.0 spec says that a 
validating XML parser *must* validate against any DTD. I think PXP is 
XML 1.0-compliant, but if you're not sure, the W3C has a compliance test 
suite that you could use to verify it.

Matt Gushee
: Bantam - lightweight file manager : matt.gushee.net/software/bantam/ :
: RASCL's A Simple Configuration Language :     matt.gushee.net/rascl/ :