RelaxNG Schema Checking in the Browser

10 views
Skip to first unread message

Jason Siefken

unread,
May 11, 2026, 2:35:56 PMMay 11
to prete...@googlegroups.com
I recently came across https://github.com/dholroyd/relaxng-rust which is a Rust implementation of the RelaxNG algorithm. Since Rust compiles to WASM, which runs in the browse, I made an experiment: https://github.com/siefkenj/relaxng_validator_wasm  It checks Pretext source against the RelaxNG grammar. It runs live in a playground here:

https://siefkenj.github.io/relaxng_validator_wasm/

This means no need for a Java install to get schema checking.

I discussed with Oscar about getting schema checking into the CLI (since this tools outputs schema violations as JSON, it should be easier to work with). This could also result in schema checking for all examples in the docs.
Reply all
Reply to author
Forward
0 new messages