ietf-822
[Top] [All Lists]

Re: New-ish idea on non-ascii headers

1991-09-20 00:42:25
Warning : this posting is *not* serious. Please delete if you have no time to
waste.
On Thu, 19 Sep 1991 09:17:53 -0400 (EDT) you said:
From:  "Nathaniel S! > ? - ( : , _ " / ; < Borenstein"
<S!>?-(:,_"/;<@my.host.name> (S! > ? - ( : , _ " / ; <)

I doubt that there is a parser in the world that will be able to do
anything useful with this.

Interesting challenge.... Feed header into parser.... Result :

 Input string : "Nathaniel S! > ? - ( : , _ " / ; < Borenstein"
 <S!>?-(:,_"/;<@my.host.name> (S! > ? - ( : , _ " / ; <)

 12 error message(s) issued.

 Missing ')' after comment : '(S! > ? - ( : , _ " / ; <)'.
 Missing '>' after route-address : '< Borenstein" <S!>?-(:,_"/;'.
 Spurious ';' in phrase : '"Nathaniel S! > ? - ( : , _ " / ; '.
 No '@' in mailbox : '"Nathaniel S! > ? - ( : , _ " / ; < Borenstein" <'.
 No local-part in mailbox : '"Nathaniel S! > ? - ( : , _ " / ; < Borens'.
 Missing dot between sub-domains in domain : 'Borenstein" <S!>?-(:,_"/;'.
 Quoted-string in domain : 'Borenstein" <S!>?-(:,_"/;'.
 Missing dot between sub-domains in domain : 'Borenstein" <S!>?-(:,_"/;'.
 Spurious ';' in domain : 'Borenstein" <S!>?-(:,_"/;'.
 Missing ',' after mailbox : '"Nathaniel S! > ? - ( : , _ " / ; < Boren'.
 Missing ':' after would-be route in mailbox : '<@my.host.name> (S! > ?'.
 No local-part in mailbox : '<@my.host.name> (S! > ? - ( : , _ " / ; <)'.

 2 mailboxe(s) found.

  1-name       : Nathaniel S! > ? - ( : , _  /;
  1-route      :
  1-local-part :
  1-domain     : Borenstein  <S!>?-(:,_ /;

  2-name       : S! > ? - ( : , _ " / ; <)
  2-route      :
  2-local-part :
  2-domain     : my.host.name

 0 group(s) found.

Hey, what software did you use to prepare this header ??? It obviously 'forgot'
to quote the local-part and to put backslashes where needed !!!!!
Correct mistakes. Throw again at parser. Result :

 Input string : "Nathaniel S! > ? - ( : , _ \N / ; < Borenstein"
 <"S!>?-(:,_\"/;<"@my.host.name> (S! > ? - \( : , _ " / ; <)|.

 0 error message(s) issued.

 1 mailboxe(s) found.

  1-name       : Nathaniel S! > ? - ( : , _ " / ; < Borenstein
                  (S! > ? - ( : , _" / ; <)
  1-route      :
  1-local-part : S!>?-(:,_"/;<
  1-domain     : my.host.name

 0 group(s) found.

Nice ! Sorry, there is at least one parser able to make sense of your example,
provided it is expressed correctly in the first place.... 8-)8-)8-)     /AF

<Prev in Thread] Current Thread [Next in Thread>