[relaxng-user] ANN: Relax NG Compact Syntax validator in C

David Tolpin dvd at davidashen.net
Tue Dec 16 03:01:23 ICT 2003


> David Tolpin wrote:
> 
> >I've posted the first release of RNV, a Relax NG (Compact Syntax) validator (written in C),
> >
> I'm impressed! It ate all my test files at first go, at lightning speed, 
> and gave a good error report
> when I introduced a mistake.

Sebastian,

thank you for the response and the test drive, I would be thankful for making
the test files available. I am especially interested in files with errors.

> 
> 65000 lines of the TEI Guidelines in 1.9 seconds, 5 times faster than 
> jing. Datatype checking
> would be good one day.....

jing is written in Java; it memoizes better, and with longer sequences
will be faster. jing also treats attributes in a finer manner, reporting
name and value errors separately.

James Clark has provided very detailed instructions for implementors of Relax NG
validation, and with regard to the basic algorith, I have mostly followed the
guidelines (and looked at nxml and jing).

I am going to use this module to implement validating mode for an editor.

David Tolpin


More information about the relaxng-user mailing list