Sign In/My Account | View Cart  
advertisement

Article:
 Transporting Binary Data in SOAP
Subject: invalid bytes are the worst problem
Date: 2002-09-05 04:51:15
From: user2048 user2048

The worst (most likely) problem with embedding
binary data directly in XML is that not all
bytes are allowed in XML.


The standard limits the valid characters to:
#x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF]


So, for example, with utf-8 encoding,
the byte value 1 is not allowed.


CDATA sections are no help at all in this case.


Previous Message Previous Message   Next Message Next Message


Sponsored By: