home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / text / sgml / 908 < prev    next >
Encoding:
Text File  |  1992-07-21  |  1.8 KB  |  39 lines

  1. Newsgroups: comp.text.sgml
  2. Path: sparky!uunet!cs.utexas.edu!torn!watserv1!watdragon.waterloo.edu!drraymon
  3. From: drraymon@watdragon.waterloo.edu (Darrell Raymond)
  4. Subject: Re: SGML and Data Representation
  5. Message-ID: <BrrMCH.4LK@watdragon.waterloo.edu>
  6. Organization: University of Waterloo
  7. References: <9207202246.AA15855@ucbvax.Berkeley.EDU>
  8. Date: Wed, 22 Jul 1992 00:50:40 GMT
  9. Lines: 28
  10.  
  11. In article <9207202246.AA15855@ucbvax.Berkeley.EDU>, DRMACRO@RALVM13.VNET.IBM.COM ("Dr. "Eliot Kimber" Macro") writes:
  12. >As a friendly challenge and an educational experience for me, I
  13. >challenge you to present here data expression methods you think SGML
  14. >documents cannot express and I will define ways of expressing them.  A
  15. >six pack of my finest homebrew (or reasonable alternative should you
  16. >not be a beer drinker) says I can't be stumped.  Either way we'll
  17. >all learn something valuable.
  18.  
  19.   Well, let's try an example and see what happens:
  20.  
  21.   I have a text of some length that contains many elements that overlap.  
  22. I want you to find a way to tag the document so that the tags demarcate 
  23. all the possible intersections of the elements.  For example:
  24.  
  25.     <X>now is the <Y>time</X> for all good men</Y>
  26.  
  27.   This tagging shows an X and a Y element that overlap only for "time", 
  28. but have their own content otherwise (X is "now is the time", and Y
  29. is "time for all good men").  If it helps, think of yourself describing 
  30. a Venn diagram and all its possible intersections.
  31.  
  32.   What I want you to do is tell me how you would mark up such a document 
  33. where the number of overlapping components is n.  Note that the number of 
  34. possible intersections is 2**n - 1.  And to count as "expressed by SGML",
  35. the description must be within what SGML can enforce; if the DTD permits
  36. some other reasonable interpretation of the document, you lose.
  37.  
  38. -Darrell.
  39.