W3C home > Mailing lists > Public > www-svg@w3.org > February 2004

Re: Snapshot draft of SVG 1.2 released

From: Tobias Reif <tobiasreif@pinkjuice.com>
Date: Sat, 28 Feb 2004 00:43:18 +0100
To: Chris Lilley <chris@w3.org>
Cc: www-svg@w3.org
Message-ID: <20040227234318.GA3567@linux>

On Fri 2004-02-27 Chris Lilley wrote:
> Yes I think it should be required for 1.2

In addition to requiring it in the spec it should be required by the

Since the svg element can not only be used as root element it might be
difficult or impossible (not sure) to require the version attribute on
the root element with RNG. Perhaps Schematron could be used, something
like the following could be embedded in the RNG (just a rough sketch):


<sch:pattern name="version_required">
  <sch:rule context="/svg:svg">
    <sch:assert test="@version = '1.2'">The root
    element must have a version attribute with
    value "1.2".</sch:assert>

<!-- ... -->


is quite helpful, also explaining how to do RNG+Schematron validation.


Vim users, don't forget to
Received on Friday, 27 February 2004 18:42:50 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:46:58 UTC