[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
RE: [xml-dev] Interesting XML ideas in oBIX
- From: noah_mendelsohn@us.ibm.com
- To: "Michael Kay" <mike@saxonica.com>
- Date: Mon, 15 Jan 2007 11:50:38 -0500
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]