Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!usc!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!liuida!prosys!ath From: ath@prosys.se (Anders Thulin) Newsgroups: comp.text.sgml Subject: Re: Entity end (Ee) Message-ID: <676@riegel.prosys.se> Date: 30 Nov 90 07:13:40 GMT References: Distribution: comp Organization: TeleSoft AB, Linkoping, Sweden Lines: 36 In article enag@ifi.uio.no (Erik Naggum) writes: >Can some kind soul please enlighten me as to the purpose of the >"Entity end" (out-of-band) "signal" and it's use in SGML documents? As far as I can see, it is used in the same was as EOF is in C: it signals 'end of file' for all entities, also those that are internal. I'm not certain what you mean with 'out-of-band' though. >I got so far as to understand how you would represent it (ASCII NUL or >DEL seem to fit the description very nicely), Perhaps you are right. Given the rather bewildering possibilities of mapping characters to and fro in SGML I'd be inclined to think that no byte value in *any* code table can be used as a universal EE. But perhaps I'm bewildered beyond what's required ... :-). > but as to the rationale for its existence, I'm at a complete loss. I don't know about this. I'm inclined to suspect that it's something to do with preventing markup inside entities to propagate outside. some random text"> and

This is &foo; as an example

The

in foo isn't permitted to last beyond the EE of foo. I don't have the standard handy to check this out, so I may be off track here. -- Anders Thulin ath@prosys.se {uunet,mcsun}!sunic!prosys!ath Telesoft Europe AB, Teknikringen 2B, S-583 30 Linkoping, Sweden