OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: [xml-dev] Where have the element types gone?

[ Lists Home | Date Index | Thread Index ]

Repost. For some reason this got sent to me instead of to xml-dev:

The point I would make is that schema types give one the freedom to name
their element according to semantic context, while allowing said elements to
be processed as the same definitional type. Fer instance:

		<upperRight>23 34</upperRight>
		<lowerLeft>11 44</lowerLeft>


Here, all numbers can be processed as positiveInteger types instance (or
lists thereof), regardless of context. On the other hand, the application
can attach different semantic meaning to the data represented by those typed
values. I can separate the validation of the type from it's meaning in a
particular context.


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

Copyright 2001 XML.org. This site is hosted by OASIS