[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Interesting XML ideas in oBIX
Michael Kay writes: > > <e xsi:type="xs:integer">123</e> > > > > You have asserted that <e> is an integer. In particular, you > > have asserted that its type is specifically the integer type > > specified in the XML Schema Recommendation [2]. > > Moreover, if the recipient doesn't trust the sender, they can put the > document through a schema validator to check that integer was the expected > or permitted type for element e. Indeed, at least to check that the lexical form is consistent with the asserted type. Of course, if you really don't trust the sender, it would be that 123 I'd be worried about ;-). Noah -------------------------------------- Noah Mendelsohn IBM Corporation One Rogers Street Cambridge, MA 02142 1-617-693-4036 --------------------------------------
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
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
|