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

Re: High-Quality Dynamic SVG Viewer

From: Dean Jackson <dean@w3.org>
Date: Mon, 20 Jan 2003 22:05:46 +1100
To: Tobias Reif <tobiasreif@pinkjuice.com>
Cc: www-svg@w3.org, www-qa@w3.org
Message-ID: <20030120110546.GH15954@grorg.org>

On Mon, 20 Jan 2003, Tobias Reif wrote:

> 
> Jim Ley wrote:
> 
> 
> >>- [...] The answer is to create a temporary well-formed
> >> version of the partial download (close all open tags, etc) and
> >> then render. [...]
> 
> >This is a sensible approach, and I fully support it.
> 
> 
> How should the app do "close all open tags, etc" for the following?
> (Real question :)
> 
> <foo>
> <bar>
> 
> to
> 
> <foo>
> <bar>
> </bar>
> </foo>

Yes.

> 
> or
> 
> <foo></foo>
> <bar></bar>

Since the <bar> is a child of the <foo>
in the content you've got so far you can't
close it this way.

Of course, the specification has to be clear on a few
things, such as (but not limited to):
- what to do with required children
- what to do with currently invalid references
- what type of error handling when it realises that
  the content is incorrect

If it makes everyone happier, the Adobe SVG viewer
has been doing this for a couple of years now without
any trouble (as far as I know).

Dean
Received on Monday, 20 January 2003 06:05:51 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:24 GMT