home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / protocol / iso / 1002 < prev    next >
Encoding:
Internet Message Format  |  1992-08-14  |  1.5 KB

  1. Path: sparky!uunet!wupost!zaphod.mps.ohio-state.edu!rpi!psinntp!psinntp!trail.sharpstone.com!asp
  2. From: asp@trail.sharpstone.com (Alexandre Sasha Polozoff)
  3. Newsgroups: comp.protocols.iso
  4. Subject: Using one syntax for more than one attribute - comments?
  5. Date: Thu, 13 Aug 92 20:23:30 CST
  6. Organization: Sharpstone Trail Productions - Austin Texas USA
  7. Message-ID: <01050130.b0ta21@trail.sharpstone.com>
  8. Reply-To: asp@trail.sharpstone.com
  9. X-Mailer: uAccess - Macintosh Release: 1.5v4
  10. Lines: 36
  11.  
  12. We are having an rather simple dilemma which I would like some comments
  13. from others.
  14.  
  15. The grammar may not be complete, just as an example.
  16.  
  17. Consider we have a syntax as follows:
  18.  
  19. aSyntaxForNames :: = GraphicString
  20.  
  21. Now we have two attribute templates which are going to both use the
  22. same syntax.
  23.  
  24. userName    ATTRIBUTE
  25.     WITH SYNTAX        Our_syntax.aSyntaxForNames
  26.     etc...
  27.  
  28.  
  29. computerName   ATTRIBUTE
  30.     WITH SYNTAX        Our_syntax.aSyntaxForNames
  31.     etc...
  32.  
  33. == OR ==
  34.  
  35. We could have two syntaxes
  36.  
  37. userNameSyntax ::= GraphicString
  38. computerNameSyntax ::= GraphicString
  39.  
  40. and reference these syntaxes instead.
  41.  
  42. Comments?  Ideas?  We can't decide which way is (so to speak) better
  43. or more correct than another way.
  44.  
  45. ---------------------------------------------------------------------------
  46. Alex Polozoff      512/218-1178       Internet    asp@trail.sharpstone.com
  47. Sharpstone Trail Productions          Compuserve  73467,252
  48. Austin, Texas USA                     OSI Network Management Products                        
  49.