Re: Ignoring unknown tags+attributes
Dave_Raggett <dsr@hplb.hpl.hp.com>
From: Dave_Raggett <dsr@hplb.hpl.hp.com>
Message-id: <9308181003.AA23534@manuel.hpl.hp.com>
Subject: Re: Ignoring unknown tags+attributes
To: lou@vax.ox.ac.uk
Date: Wed, 18 Aug 93 11:03:26 BST
Cc: WWW-TALK@nxoc01.cern.ch
Mailer: Elm [revision: 66.36.1.1]
Status: RO
> Does 'ignoring' mean "treat as if they were not there" or "do not
> interpret as tags"? My guess is the former. The latter has the advantage
> that useful information can be still presented to the user -- for
> example, if my document uses some semantic tagging which a particularly
> dim browser doesn't know about.
The former. The text between the opening and closing unknown tag is simply
passed on and rendered as if the unknown tag wasn't there.
Thank you for pointing out the ambiguity, I will clarify this in the spec.
> Both options will of course deeply confuse browsers trying to
> calculate byte offsets within a file.
Why? Perhaps your parser is too cavalier about throwing away information.
Mine always knows the current position of elements, its just cheaper to
avoid copying lots of text when you don't need to.
Dave