Implementing W3C standards

Hi everyone,

At my company we’re looking to implement support for W3C standards such as SVG 1.1 (2nd edition) in our app. I’ve been doing research on how people approach this problem.

There are various resources available at w3.org, but the standard only appears to be available as an HTML document (or documents). I would like to be able to parse a single document that gives me all of the concepts in the standard, which I can then generate objects from in a programming language of my choice.

Apart from simply parsing the HTML document itself, it seems possible to parse the document type definition file, but this doesn’t include type information for attributes such as “color,” whose constraints are described in EBNF in the html document.

Is anyone here aware of how people are going about implementing the standard? Does it simply come down to manually tracking the different parts of the standard?