W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > July to September 2003

problems in erratum

From: C. M. Sperberg-McQueen <cmsmcq@acm.org>
Date: Tue, 08 Jul 2003 19:12:41 -0600
Message-Id: <5.1.0.14.1.20030708190459.02471de8@localhost>
To: W3C XML Schema Comments list <www-xml-schema-comments@w3.org>
Cc: "Biron,Paul V" <Paul.V.Biron@kp.org>, Ashok Malhotra <ashokma@microsoft.com>, Dave Peterson <davep@iit.edu>, Lisa Martin <lmartin@ca.ibm.com>

The grammar given in clarification E2-9 appears to be faulty.
My apologies; I should have caught this when the WG reviewed
it.

Specifically:

(1) The rule for B64x15 has too many ::= symbols.  Instead of

     B64x15               ::=  B64 B64 B64 B64 B64
                           ::=  B64 B64 B64 B64 B64
                           ::=  B64 B64 B64 B64 B64

I think it should read

     B64x15               ::=  B64 B64 B64 B64 B64
                               B64 B64 B64 B64 B64
                               B64 B64 B64 B64 B64

It's a single rule, after all, not three rules.

(2) similarly for B64lastline.  This also has a parenthesis missing.
For

     B64lastline            ::=  B64x4? B64x4? B64x4? B64x4?
                            ::=  B64x4? B64x4? B64x4? B64x4?
                            ::=  B64x4? B64x4? B64x4? B64x4?
                            ::=  B64x4? B64x4? B64x4? B64x4?
                            ::=  B64x4? B64x4?
                            ::=  (B64x4 | B64 B64 B16 '=') | (B64 B04 '=='))
                            ::=  #xA

read

     B64lastline            ::=  B64x4? B64x4? B64x4? B64x4?
                                 B64x4? B64x4? B64x4? B64x4?
                                 B64x4? B64x4? B64x4? B64x4?
                                 B64x4? B64x4? B64x4? B64x4?
                                 B64x4? B64x4?
                                 (B64x4 | (B64 B64 B16 '=') | (B64 B04 '=='))
                                 #xA

(3) A cosmetic note: in the grammar for the lexical space, I
think the rule for B64final can be better aligned.  For

     B64final      ::=  B64 S? B04 S? '=' S? '=' S?
                     | B64 S? B64 S? B16 S? '=' S?

read

     B64final      ::=  B64 S? B04 S? '=' S? '=' S?
                     |  B64 S? B64 S? B16 S? '=' S?

-CMSMcQ
Received on Tuesday, 8 July 2003 21:12:48 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:09:00 UTC