[Home] [By Thread] [By Date] [Recent Entries]
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] |

Cart



