RE: Comments and element content for serialization

Paul Cotton writes:

>> We do not allow comments to be embedded 
>> within simple types.  was wrong so I 
>> checked with Ashok Malhotra who is an 
>> Editor of the XML Schema: Datatypes spec. 
>> He says that comments can be used anywhere
>> inside an element whose type is an XML 
>> Schema datatype.

I sent a note a few days ago that I think bears on this.  As far as I 
recall, the constructions that make clear that comments are ignored are in 
the Schema Structures spec, not datatypes.  I don't have the text 
available, but structures basically says that validation is done on the 
_character_ children of an element or attribute, skipping comments, etc. I 
_think_ that datatypes is silent on how you get from text in an XML 
document to a string of charcters to validate against a type to integer. 
So, I think the general conclusion is right, but we may need a bit of SOAP 
spec cleanup to get all the details in there.

------------------------------------------------------------------------
Noah Mendelsohn                                    Voice: 1-617-693-4036
Lotus Development Corp.                            Fax: 1-617-693-8676
One Rogers Street
Cambridge, MA 02142
------------------------------------------------------------------------

Received on Thursday, 7 June 2001 08:41:47 UTC