W3C home > Mailing lists > Public > www-svg@w3.org > November 2003

Re: Non well-formed examples

From: Tobias Reif <tobiasreif@pinkjuice.com>
Date: Wed, 19 Nov 2003 11:58:04 +0100
To: Richard Jinks <cyberthymia@yahoo.co.uk>
Cc: www-svg@w3.org
Message-ID: <20031119105804.GA5109@linux>

On Thu 2003-11-13 Richard Jinks wrote:
> After a quick scan through the SVG1.2 specification, I've noticed a couple
> of small typos in the examples for the transformer and param elements:
> http://www.w3.org/TR/SVG12/#transformer-element
> http://www.w3.org/TR/SVG12/#paramrcc-element
> 
> In both examples, the "elementDef" elements aren't closed properly - the
> '/' characters are missing from the end elements.
> Also in these examples, neither the foo prefix nor the namespace it is
> defined to are in scope when you are using them after the "extensionDefs"
> element.

Also in line 33
  <circle stroke="none" fill="{$lightcolor"}
is not well-formed and should probably be
  <circle stroke="none" fill="{$lightcolor}"

line 11:
  <xsl:param name="lightcolor">
to
  <xsl:param name="lightcolor"/>

Perhaps it would make sense to automatically run each example through
a validator when compiling the spec?

Tobi

-- 
Vim as XML Editor
http://www.vim.org/tips/tip.php?tip_id=583
Received on Wednesday, 19 November 2003 05:52:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 5 November 2012 23:52:55 GMT