W3C home > Mailing lists > Public > xml-dist-app@w3.org > June 2001

RE: Comments and element content for serialization

From: <Noah_Mendelsohn@lotus.com>
Date: Sat, 9 Jun 2001 14:04:44 -0400
To: xml-dist-app@w3.org
Message-ID: <OF341D7D62.17B91A18-ON85256A66.00633DAB@lotus.com>
Should the attached become an issue for tracking purposes?

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



----- Forwarded by Noah Mendelsohn/CAM/Lotus on 06/09/2001 02:03 PM -----
                                                                                                                              
                    Noah                                                                                                      
                    Mendelsohn           To:     "Paul Cotton" <pcotton@microsoft.com>                                        
                                         cc:     "Ashok Malhotra" <ashokma@microsoft.com>, "David E. Cleary"                  
                    06/07/2001           <davec@progress.com>, "Martin Gudgin" <marting@develop.com>, "Rich Salz"             
                    04:47 AM             <rsalz@zolera.com>, "W3C XP" <xml-dist-app@w3.org>, xml-dist-app-request@w3.org      
                                         Subject:     RE: Comments and element content for serialization(Document link: Noah  
                                         Mendelsohn)                                                                          
                                                                                                                              




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 Sunday, 10 June 2001 19:41:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:01 GMT