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] RE : [xml-dev] Text or tags choice with XSD

[ Lists Home | Date Index | Thread Index ]

It states the preference for the simplicity of authoring 
over the assertion of a relationship of type which the 
author must maintain as learned information and express 
as the attribute value.  That the author must choose 
appropriately is not changed in the least.  That the 
author must express the relationship in every choice is.

Why do I need to know that both dogs and cats are mammals? 
Must I state that every time I feed the dog or the cat?


From: John Cowan [mailto:jcowan@reutershealth.com]

Bryce K. Nielsen scripsit:

> I think you're missing his point, being that rather than making the end
> include xsi:type, if he just defines a "time-complex" and a "time-simple"
> element in his schema, the end user now only has to choose which element
> use (schema stuff can be confusing to end users, so I agree that whenever
> you can exclude them from your instance docs, you should).

Why is using a different element name so much simpler than adding a
attribute value?


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

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