[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (DTD != rfc2445)?



Michael Krivoruchko wrote:
 
> It looks to me like _very_ different grammars:
>   1. DTD allows element from 'freebusy.opt1' to appear more than once in
>       'freebusy' element; this is not allowed by RFC2445
>
>   2. DTD does not allow element from 'freebusy.opt1' appear after element
>       from 'freebusy.optm'; there is no such restriction in RFC2445
> 

They should be the same.


> The grammar in RFC2445#4.6.4 is not in EBNF because of restrictions
> in comments which have sense for a reader but have no any sense for
> a parser.

Not a problem as there is no requirement the RFC text be parsable by a machine.
begin:vcard 
n:Royer;Doug
tel;pager:650-274-8960 or pager@Royer.com
tel;cell:650-274-8960
tel;home:650-274-8960
tel;work:805-957-1790 x541
x-mozilla-html:FALSE
url:http://Royer.com/People/Doug
version:2.1
email;internet:doug@home.royer.com
adr;quoted-printable:;;801 Woodside Rd. #14=0D=0ASuite 244;Redwood City;CA;94061;USA
x-mozilla-cpt:;0
fn:Doug Royer
end:vcard

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature