Path: utzoo!attcan!uunet!snorkelwacker!bloom-beacon!eru!luth!sunic!liuida!prosys!ath From: ath@prosys.se (Anders Thulin) Newsgroups: comp.text Subject: SGML question Keywords: SGML, ambiguity Message-ID: <555@helios.prosys.se> Date: 27 Aug 90 05:26:56 GMT Organization: Telesoft AB, Teknikringen 2A, S-583 30 Linkoping, Sweden Lines: 72 SGML gurus, ahoy! I've been trying to make sense of the SGML standard. I'm beginning to think that it shouldn't be done at home, and only attempted by highly trained professionals :-, The first problem is with the modes used for recognizing delimiters (section 9.6.1 in the standard). Here is the background: 1) SGML delimiters are recognized only in certain modes. For example, "" delimiter. According to the table in Figure 3 (page 31) in the standard, ">" is recognized as either MDC or TAGC in CTX mode. But I find nothing that says why it should be recognized as one rather than the other. I would assume that ">" would be recognized as TAGC if the parser was currently parsing a _tag_, and as MDC in markup declarations. And this is the behaviour I would expect from any decent implementation. I just can't see that it is supported by the standard. So: would a scanner that recognized ">" as MDC when the person who created the document meant TAGC strictly speaking be in error? -- Anders Thulin ath@prosys.se {uunet,mcsun}!sunic!prosys!ath Telesoft Europe AB, Teknikringen 2B, S-583 30 Linkoping, Sweden