Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: Adrien <camaradetux@g...>
Subject: Re : [Caml-list] XML library for validating MathML

I have encountered a problem with xml-light's dtd supportone year ago.
Basically if you have something name "ABCD" and something else named
"ABCDEF", it will fail. It could be your problem.
Unfortunately I never had time to fix it.

Well, no time to be more precise, I'm already late.


Adrien Nader

2008/9/18, Matt Gushee <>:
> 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 : :
> : RASCL's A Simple Configuration Language : :
> _______________________________________________
> Caml-list mailing list. Subscription management:
> Archives:
> Beginner's list:
> Bug reports: