- From: <noah_mendelsohn@us.ibm.com>
- Date: Tue, 17 Jun 2003 17:41:34 -0400
- To: "Dare Obasanjo" <dareo@microsoft.com>
- Cc: "Glenn A. Adams" <glenn@xfsi.com>, "Robin Berjon" <robin.berjon@expway.fr>, www-tag@w3.org
Dare Obasanjo writes: >> xsi:type can give types to elements which can be >> typed as instances of xs:ID or xs:IDREF. There >> is language in the REC discouraging people from >> doing this since it is not compatible with DTD >> functionality. Right. Additionally, xsi:type can specify a complex type which in turn gives an attribute the xs:id type. Perhaps that's what's intended by the original quote? I believe it is possible in principle. Indeed, this line of reasoning somewhat bolsters the claim that the existing wording is unnecessarily vague and should be clarified. ------------------------------------------------------------------ Noah Mendelsohn Voice: 1-617-693-4036 IBM Corporation Fax: 1-617-693-8676 One Rogers Street Cambridge, MA 02142 ------------------------------------------------------------------ "Dare Obasanjo" <dareo@microsoft.com> Sent by: www-tag-request@w3.org 06/17/2003 11:33 AM To: "Robin Berjon" <robin.berjon@expway.fr>, "Glenn A. Adams" <glenn@xfsi.com> cc: <www-tag@w3.org>, (bcc: Noah Mendelsohn/Cambridge/IBM) Subject: RE: xmlIDsemantics reference to xsi:type > -----Original Message----- > From: www-tag-request@w3.org [mailto:www-tag-request@w3.org] > On Behalf Of Robin Berjon > Sent: Tuesday, June 17, 2003 6:56 AM > To: Glenn A. Adams > Cc: www-tag@w3.org > Subject: Re: xmlIDsemantics reference to xsi:type > > [1] http://www.w3.org/2001/tag/doc/xmlIDsemantics-32.html > > It's unclear to me what creative uses of xsi:type could do > here. Last I checked xsi:type couldn't give types (such as > xsd:ID) to attributes. It could give an element a type that > itself has an attribute of type xsd:ID, but I fail to see how > that would alleviate using a schema, since the type would > have to be known somewhat. Am I missing something? xsi:type can give types to elements which can be typed as instances of xs:ID or xs:IDREF. There is language in the REC discouraging people from doing this since it is not compatible with DTD functionality. -- PITHY WORDS OF WISDOM Beauty is skin deep but ugly goes to the bone. This posting is provided "AS IS" with no warranties, and confers no rights.
Received on Tuesday, 17 June 2003 17:42:51 UTC