Applying Postel's Law to XML, from a Unicode perspective?

Costello, Roger L. costello at
Sun Jun 28 07:31:51 CDT 2015

Hi Folks,

Postel's Law says:

	Be liberal in what you accept, and 
	conservative in what you send.

How might Postel's Law be applied to web services that receive XML and sends out XML? 

Here's one idea: a web service is willing to receive UTF-8 XML documents containing a pseudo-BOM; the web service sends out UTF-8 XML documents without the pseudo-BOM.

Can you think of Unicode errors in inbound XML documents that a web service might be willing to accept?


More information about the Unicode mailing list