[Serialization] IBM-SE-009: Discarding of type annotations

Serialization Section 4, "XML Output Method": Bullet 5 says that type 
annotations are discarded during serialization. The note just below this 
bullet says that type annotations are optionally preserved during 
serialization. Which is true? If type annotations are optionally 
preserved, how is this option controlled? Is it implementation-defined, or 
controlled by a serialization parameter? It would be very helpful to have 
a note or example to illustrate how (and when) type annotations are 
serialized in the form of xsi:type attributes.

Also, the note below Bullet 5 is very awkwardly phrased. If retained, this 
note should be condensed as follows: "In order to preserve type 
annotations, the serialization process could use mechanisms such as 
xsi:type and xsi:schemaLocation attributes." 

--Don Chamberlin

Received on Monday, 2 February 2004 19:16:03 UTC