XML validation against XSD schema
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:
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,
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> -----END PGP SIGNATURE-----
> es-discuss mailing list
> es-discuss at mozilla.org
More information about the es-discuss