XML validation against XSD schema

Brendan Eich brendan at mozilla.org
Thu Jun 7 11:28:00 PDT 2012


This is not a candidate for the core language standard, ECMA-262. Even 
E4X, ECMA-357, a standard that failed to win adoption in browsers other 
than Firefox, cannot validate against schema.

This is where you want a JS library. There are many choices, although 
I'm no XML expert:

https://www.google.com/search?q=XSD+validation+in+JS&ie=utf-8&oe=utf-8

/be

Christian Mayer wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Developing a ECMAScript based rich application I came across the
> problem to validate a XML based config file against a XSD to be able
> to leave out error handling during the config file processing in my code.
>
> But it seems there's no standardized way to it...
>
> Did I miss something or is such a fundamental building block really
> missing? (Could it be added to the standard?)
>
> With kind regards,
> Chris
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
>
> iEYEAREIAAYFAk/Q33UACgkQoWM1JLkHou24rwCfZt2sBwrCefbEhm5pmRz7ZEVx
> zcoAn126ZKO+ceHnRkrhExfBITyJJrEO
> =larE
> -----END PGP SIGNATURE-----
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>


More information about the es-discuss mailing list