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

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 <matt@gushee.net>:
> 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/ :
>
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>