[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [xml-dev] XML schema: attribute constraint
- From: Jeff Lowery <email@example.com>
- To: 'Eric van der Vlist' <firstname.lastname@example.org>
- Date: Tue, 30 Oct 2001 15:36:16 -0800
This brings up an issue I've been wondering about recently: Should type
information be consistently declared for document elements?
The example Eric mentions is primarily used for overriding the element base
type that was declared in an XML Schema, but xsi:type could be used even if
it is no different from that in the XML Schema declaration.
The reason I ask is because I've seen this done in an XML document standard
in one industry (although *not* using xsi:type), and I wonder if anybody has
thought through the pros and cons of such an approach?