<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>2745</bug_id>
          
          <creation_ts>2006-01-20 21:22:55 +0000</creation_ts>
          <short_desc>wd-19: base64 and linefeeds</short_desc>
          <delta_ts>2006-01-20 22:04:00 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XML Schema</product>
          <component>Datatypes: XSD Part 2</component>
          <version>1.1 only</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://lists.w3.org/Archives/Public/www-xml-schema-comments/2004OctDec/0023.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mary Holstege">holstege</reporter>
          <assigned_to name="C. M. Sperberg-McQueen">cmsmcq</assigned_to>
          
          
          <qa_contact name="XML Schema comments list">www-xml-schema-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>7909</commentid>
    <comment_count>0</comment_count>
    <who name="Mary Holstege">holstege</who>
    <bug_when>2006-01-20 21:22:55 +0000</bug_when>
    <thetext>RFC 3548 is better reference than RFC 2045 (MIME) for defining Base64 in XML 
Schema Part 2. Future versions, at least, should use the newer document as a 
reference. The good news is that XML Schema&apos;s departure from RFC 2045 regarding 
linefeeds and whitespace (disallowing them in the canonical representation) is 
in agreement with RFC 3548:

2.1. Line feeds in encoded data

MIME is often used as a reference for base 64 encoding. However, MIME does not 
define &quot;base 64&quot; per se, but rather a &quot;base 64 Content-Transfer-Encoding&quot; for 
use within MIME. As such, MIME enforces a limit on line length of base 64 
encoded data to 76 characters. MIME inherits the encoding from PEM stating it is 
&quot;virtually identical&quot;, however PEM uses a line length of 64 characters. The MIME 
and PEM limits are both due to limits within SMTP.

Implementations MUST NOT not add line feeds to base encoded data unless the 
specification referring to this document explicitly directs base encoders to add 
line feeds after a specific number of characters. 

Proposal concerning
Part 2
base64Binary

Transition history
raised on 24 Nov 2004 by Xan Gregg (http://lists.w3.org/Archives/Public/www-xml-
schema-comments/2004OctDec/0023.html)
agreed on 22 Apr 2005 (http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/
2005Apr/0056.html)

MSM proposed that we agree with the comment; no dissent.

Acknowledgment cycle
announced by group on 22 Apr 2004 (http://lists.w3.org/Archives/Member/w3c-xml-
schema-ig/2005Apr/0056.html)
agreement by reviewer on 22 Apr 2004 (http://lists.w3.org/Archives/Member/w3c-
xml-schema-ig/2005Apr/0056.html)

Action history
Part 2 Editors
accepted on 22 Apr 2005 (http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/
2005Apr/0056.html)

DT editors to check that RFC 3548 is (still) the latest, and update references 
in Datatypes to point to latest RFC, thus resolving wd-19. (Result will take the 
form of an Editorial Proposal.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7930</commentid>
    <comment_count>1</comment_count>
    <who name="Mary Holstege">holstege</who>
    <bug_when>2006-01-20 22:04:00 +0000</bug_when>
    <thetext>Editors proposal: 
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2005May/0017

Accepted with amendment: http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/
2005May/0000.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>