Re: E01: dname encoding rules proposal (ACTION-51)

On 2007-06-12 18:05:28 +0200, Thomas Roessler wrote:
>      
>      	To encode a distinguished name, the rules in section 2 of
> 	RFC 2253 [REF] should be applied.  However, the string

"SHOULD be applied", actually

> 	conversion rules in section 2.4 should be augmented as
> 	follows:

I'd keep that optional and lowercase.

>
> 	* Escape all occurrences of ASCII control characters
> 	  (Unicode range \x00 - \x1f) by replacing them with "\"
> 	  followed by a two digit hex number showing its Unicode
> 	  number.
> 	
> 	* Escape any trailing space characters by replacing them
> 	  with "\20", instead of using the escape sequence "\ ".
> 	
> 	* Since a XML document logically consists of characters, not
> 	  octets, the resulting Unicode string is finally encoded
> 	  according to the character encoding used for producing the
> 	  physical representation of the XML document.
> 

-- 
Thomas Roessler, W3C  <tlr@w3.org>

Received on Tuesday, 12 June 2007 16:13:22 UTC