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

Re: Base64 input

From: Rich Salz <rsalz@zolera.com>
Date: Thu, 02 Aug 2001 10:31:54 -0400
Message-ID: <3B69645A.18E36F6F@zolera.com>
To: "C. M. Sperberg-McQueen" <cmsmcq@acm.org>
CC: www-xml-schema-comments@w3.org
Thank you for the clarification; it was needed.

> What do existing implementations do with a string like "abc=de=="?

It varies.  Some keep reading until end-of-file, so they'll treat it as
concatenated base64 encodings, joining them into one result.  Some still
stop after the first.

> I think I'm hearing you say that yes, you think it's worthwhile
> for XML Schema processors to check that the equal signs are where
> they ought to be in correct data, and nowhere else (so that
> "abc=de==" raises a type error right away).

Yes.  It should fail at the "same place" that "1g2" would fail as a
value for xsd:decimal.

Zolera Systems, Your Key to Online Integrity
Securing Web services: XML, SOAP, Dig-sig, Encryption
Received on Thursday, 2 August 2001 10:33:45 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:08:53 UTC