surrogates for XML

I have a question about Unicode surrogates and XML:

The XML specifications define the range of valid characters to be:

Char ::= #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF]

Explicitely excluding the surrogates blocks. But the scalar values 0x10000 
to 0x10FFFF seems to indicate that surrogates are supported... I'm not sure 
I understand. In addition, The Unicode version 3.0 also gives formulas to 
go back and forth between surrogates pairs and scalar values, mentioning 
their need for XML (section 3.7).

I would appreciate a lot if someone could someone cold give me more 
information on how surrogates are supported on XML?

Thanks.

-yves savourel

Received on Monday, 9 October 2000 08:20:54 UTC