- From: Paul Cotton <pcotton@microsoft.com>
- Date: Wed, 6 Jun 2001 10:45:13 -0400
- To: "David E. Cleary" <davec@progress.com>
- Cc: "W3C XP" <xml-dist-app@w3.org>, "Martin Gudgin" <marting@develop.com>, "Rich Salz" <rsalz@zolera.com>, "Ashok Malhotra" <ashokma@microsoft.com>
I thought your statement: > 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. /paulc Paul Cotton, Microsoft Canada 17 Eleanor Drive, Nepean, Ontario K2E 6A3 Tel: (613) 225-5445 Fax: (425) 936-7329 <mailto:pcotton@microsoft.com> > -----Original Message----- > From: David E. Cleary [mailto:davec@progress.com] > Sent: Monday, June 04, 2001 9:14 AM > To: Martin Gudgin; Rich Salz > Cc: W3C XP > Subject: RE: Comments and element content for serialization > > > > > But I don't think the question in the subject line has > been given a > > > definitive answer yet. What does soap say about comments > in element > > > content? That is, is "1<!--x-->2" a legal serialization > for the number > > > 12? For the two-character text string "12"? > > > > SOAP says nothing. I think the above would be a legal > serialization of; > > > > the integer 12 > > the decimal 12 > > the single precision floating point value 12 > > the double precision floating point value 12 > > the string "12" > > Martin, > > We do not allow comments to be embedded within simple types. > At least that > is what I recollect when XML Query asked us about it. > > Dave > >
Received on Wednesday, 6 June 2001 10:58:15 UTC