OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Re: Binary Encoding using Base64

[ Lists Home | Date Index | Thread Index ]


> > contrary to the Base64 encoding spec, Microsoft embeds <cr><lf> characters 
> > in the output.
> 
> What spec says linebreaks are not allowed in base64?
> /r$

Actually, line breaks are required. The spec says:

<quote>
The encoded output stream must be represented in lines of no more
than 76 characters each.  All line breaks or other characters not
found in Table 1 must be ignored by decoding software.
</quote>

And furthermore, any other character should simply be ignored,
i.e. not cause an error to be returned.

Karl




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS