home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!zaphod.mps.ohio-state.edu!rpi!psinntp!psinntp!trail.sharpstone.com!asp
- From: asp@trail.sharpstone.com (Alexandre Sasha Polozoff)
- Newsgroups: comp.protocols.iso
- Subject: Using one syntax for more than one attribute - comments?
- Date: Thu, 13 Aug 92 20:23:30 CST
- Organization: Sharpstone Trail Productions - Austin Texas USA
- Message-ID: <01050130.b0ta21@trail.sharpstone.com>
- Reply-To: asp@trail.sharpstone.com
- X-Mailer: uAccess - Macintosh Release: 1.5v4
- Lines: 36
-
- We are having an rather simple dilemma which I would like some comments
- from others.
-
- The grammar may not be complete, just as an example.
-
- Consider we have a syntax as follows:
-
- aSyntaxForNames :: = GraphicString
-
- Now we have two attribute templates which are going to both use the
- same syntax.
-
- userName ATTRIBUTE
- WITH SYNTAX Our_syntax.aSyntaxForNames
- etc...
-
-
- computerName ATTRIBUTE
- WITH SYNTAX Our_syntax.aSyntaxForNames
- etc...
-
- == OR ==
-
- We could have two syntaxes
-
- userNameSyntax ::= GraphicString
- computerNameSyntax ::= GraphicString
-
- and reference these syntaxes instead.
-
- Comments? Ideas? We can't decide which way is (so to speak) better
- or more correct than another way.
-
- ---------------------------------------------------------------------------
- Alex Polozoff 512/218-1178 Internet asp@trail.sharpstone.com
- Sharpstone Trail Productions Compuserve 73467,252
- Austin, Texas USA OSI Network Management Products
-