by Eric van der Vlist is published by O'Reilly & Associates (ISBN: 0596004214)


xsd:base64Binary — Binary content coded as "base64"


<xsd:simpleType name="base64Binary" id="base64Binary">
 <xsd:restriction base="xsd:anySimpleType">
 <xsd:whiteSpace value="collapse" fixed="true"/>

Derived from




Known subtypes


Data parameters (facets)

enumeration, length, maxLength, minLength, pattern.


The value space of xsd:base64Binary is the set of arbitrary binary contents. Its lexical space is the same set after base64 coding. This coding is described in Section 6.8 of RFC 2045.


RFC 2045 describes the transfer of binary contents over text-based mail systems. It imposes a line break at least every 76 characters to avoid the inclusion of arbitrary line breaks by the mail systems. Sending base64 content without line breaks is nevertheless a common usage for applications such as SOAP and the W3C XML Schema Working Group. After a request from other W3C Working Groups, the W3C XML Schema Working Group decided to remove the obligation to include these line breaks from the constraints on the lexical space. (This decision was made after the publication of the W3C XML Schema Recommendation. It is now noted in the errata.)


<define name="picture">
  <attribute name="type">
    <ref name="graphicalFormat"/>
  <data type="xsd:base64Binary">

This text is released under the Free Software Foundation GFDL.