- From: Michael Sperberg-McQueen <U35395@UICVM.UIC.EDU>
- Date: Mon, 12 May 97 12:11:18 CDT
- To: W3C SGML Working Group <w3c-sgml-wg@w3.org>
On Sun, 11 May 1997 13:31:41 -0400 Bert Bos said: > > 2. Default attributes > >The previous XML-lang draft had a handy macro <?xml default...?> that >I find very useful, expecially in dealing with XML-link, where a lot >of elements have fixed attributes. > >Without it, a document like this > > <!doctype foo "foo"> > <foo/> > >with this DTD > > <!element foo any> > <!attlist foo att (def) def> > >is not valid (for some definition of "valid"), since the DTD says that >the "att" attribute cannot be #implied. Note that it could be omitted >if this was SGML-1986, but in XML it cannot. Why not? I don't see anything in the spec that says a document is invalid if it allows attributes to take their default values. If you see something that does say so, where is it, please? Thanks. C. M. Sperberg-McQueen
Received on Monday, 12 May 1997 13:14:21 UTC