Re: Building a new tree

Subject: Re: Building a new tree
From: Chris Lilley <chris@xxxxxx>
Date: Mon, 19 Apr 1999 22:24:10 +0200

Chris Maden wrote:
> 
> [Chris Lilley]
> > I thought XML used the same rule as SGML, first occurence wins? You
> > can declare it twenty times and it isn't an error?
> 
> I think that's entities you're thinking of.  In old SGML, you couldn't
> declare any attribute multiple times; in WebSGML and XML, you can.

OK. So, to be clear, it is legal to declare an attribute to be of type
ID even though the external DTD subset may declare it to be something
else? (Or may also declare it to be ID)

> However, a single element type still can't have multiple attributes of
> type ID; 

right

> MSIE 5 checks the type without regard for the name,

which is wrong

>  and
> dX-MozilX-Mozilla-Status: 8018 of a particular ID attribute as though
> it were a new, second ID attribute.

which is also wrong.

--
Chris


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread