🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.sgml
Article #524

Re: A floating paired tag...

#524
From: Erik Naggum
Date: Fri, 14 Jun 1991 14:30
39 lines
2445 bytes
Brad Might <jbm@hal.com> writes:
|
|   Can you show me where you have read that #CURRENT attributes
|   are shared amongst different elements?

No.  Not because I'm stubborn, but because you're right -- there is no
such place.  Several things contributed to my misunderstanding of
this.  The word "inherit" occurs in B.5.2.4 [38:20], and I think I
mixed the rank feature in (note the name groupe I used to indicate
that they belonged together -- all bogus), and added a touch of
so-called "object oriented" languages to expand the meaning of
"inherit" beyond the safety limit.

|   Nowhere in the standard have I seen a mention of inheriting
|   attribute values from elements of a different type.

I stand corrected.  I spent a lot of time leafing back and forth
trying to find places where it said I was wrong, but all I found was
places where it said I wasn't right, but could be interpreted to be.
When I looked for places where it said I was right, I found none.
This makes me understand how people can stick with small misunder-
standings for a long time.  Thanks for setting this straight so fast.

|   I do see this mentioned in "Practical SGML", but it's not the
|   standard.

Hmmm... one of the annoying errors that bit _me_.  Eeek.  :-)

To conclude, then, there is no way to make an attribute value be
inherited by subelements of an element which specifies a value.
Kind of sad, since it leaves the <!ELEMENT language ANY> solution.

Does your NOTATION suggestion provide a better solution?

</Erik>
--
Erik Naggum             Professional Programmer            +47-2-836-863
Naggum Software             Electronic Text             <ERIK@NAGGUM.NO>
0118 OSLO, NORWAY       Computer Communications        <enag@ifi.uio.no>
Technical Details
Message-ID: <ENAG.91Jun14163052@gyda.ifi.uio.no>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!sics.se!ifi.uio.no!enag
References: <1991Jun12.131914.19072@hal.com> <ENAG.91Jun13022623@gyda.ifi.uio.no> <1991Jun13.135420.29128@hal.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!sics.se!ifi.uio.no!enag
From: enag@ifi.uio.no (Erik Naggum)
Newsgroups: comp.text.sgml
Subject: Re: A floating paired tag...
Message-ID: <ENAG.91Jun14163052@gyda.ifi.uio.no>
Date: 14 Jun 91 14:30:56 GMT
References: <1991Jun12.131914.19072@hal.com> <ENAG.91Jun13022623@gyda.ifi.uio.no>
 <1991Jun13.135420.29128@hal.com>
Sender: enag@ifi.uio.no (Erik Naggum)
Organization: Naggum Software, Oslo, Norway
Lines: 39
Nntp-Posting-Host: gyda.ifi.uio.no
In-Reply-To: jbm@hal.com's message of 13 Jun 91 13: 54:20 GMT
Originator: enag@gyda.ifi.uio.no