RE: Stupid Question (was RE: XML doesn't deserve its
> -----Original Message----- > From: Joe English [mailto:jenglish@f...] > Sent: Tuesday, March 05, 2002 2:55 PM > To: xml-dev@l... > Subject: Re: Stupid Question (was RE: XML > doesn't deserve its "X".) > > I'm having a hard time envisioning a scenario where having > 'xsi:type' would be useful to an application. > > Suppose I'm a program. If you hand me a piece of data and > tell me that it's an Integer, I still won't know what to > do with it. Now I might be able to make some sense out > of a QUANTITY attribute on a LINEITEM element inside a > PURCHASEORDER, but in that case I'm already expecting it to > be an Integer. > There is no rule that states that xsi:type should only describe simpleTypes. Your post is basically stating I'm having a hard time envisioning a scenario where having XML schema type information for an instance document would be useful to an application. Which just means that the kind of problems you have to solve are different from those that those of us that are interested in strongly typed data have to solve. -- THINGS TO DO IF I BECOME AN EVIL OVERLORD #230 I will not procrastinate regarding any ritual granting immortality.
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format