XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
RE: [xml-dev] 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]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS