W3C home > Mailing lists > Public > www-validator@w3.org > August 2004

Re: Differences between validator output and nsgmls output

From: Jirka Kosek <jirka@kosek.cz>
Date: Wed, 04 Aug 2004 14:53:51 +0200
Message-ID: <4110DC5F.30701@kosek.cz>
To: David Dorward <david@dorward.me.uk>
Cc: www-validator@w3.org
David Dorward wrote:

> Then we hit:
> 
>   //
> 
> which acts as a self closing tag. The rest of it is just in free text. 
> So it ends up being the same as:
> 
>   <a href="http:"></a>www.example.com>
> 
> and the > character doesn't have to be escaped to &gt; here either.

Aha, now it makes sense. But in this light wouldn't it be better to 
disallow SHORTTAG option in SGML declaration for HTML in the validation 
service? HTML 4.01 specification doesn't mention possibility of using 
SGML markup minimalization rules AFAIK.

> Why your local copy of nsgmls gets this wrong, I'm not sure. I only have 
> a slight glimmering of the darker sides of SGML.

I was using my default SGML declaration which is other then one supplied 
with HTML specification. Sorry for false alarm.

				Jirka

-- 
------------------------------------------------------------------
   Jirka Kosek     e-mail: jirka@kosek.cz     http://www.kosek.cz
------------------------------------------------------------------
   Profesionální školení a poradenství v oblasti technologií XML.
      Podívejte se na náš nově spuštěný web http://DocBook.cz
------------------------------------------------------------------

Received on Wednesday, 4 August 2004 08:54:53 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:14:08 UTC