[imps] Using Validator.nu in Javascript?

Henri Sivonen hsivonen at iki.fi
Thu Mar 3 06:25:52 PST 2011


> Seeing as there is a GWT version of the HTML5 parser available (
> http://blog.whatwg.org/html5-live-dom-in-javascript ), I am wondering
> if it would be possible to run the HTML5 conformance checking directly
> in Javascript?

In theory, yes. In practice, doing so involves work that no one has done yet.

There's a RELAX NG engine for JS:
http://code.google.com/p/jsrelaxngvalidator/

Alternatively, one might try compiling Jing using GWT, though it probably touches on JDK APIs that GWT doesn't provide. Either use of those APIs would need to be patched out or GWT-oriented implementations would need to be supplied.

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/



More information about the Implementors mailing list