 |
 |
 |
Thanks for the analogy-- I see your point. I guess that's why XML
Schema 1.0 doesn't allow it. I my case, I guess the way to avoid this
from a design standpoint is to get rid of the common generalized element
names and use the data that I currently have in the attributes for the
element names. However, it seems that if I do it that way then my
"word" type and "field" type go away, and I think there is value in
having those "types".
Jeffrey King
Northrop Grumman
(703) 561-4965
-----Original Message-----
From: Nassar, Anthony [mailto:ANassar@H...]
Sent: Friday, January 04, 2008 11:12 AM
To: King, Jeffrey (Mission Systems); xmlschema-dev@w...
Subject: RE: Repeating elements with fixed attribute values
You wouldn't expect a programming language to allow you declare a type
"word" that aggregates a collection of "field" objects, but the data in
the latter can only be what the type declaration allows (or, reducing it
even more, you wouldn't expect to be able to declare an array type *and*
declare what values have to be at certain locations). On that analogy,
anyway, the design you're proposing is trying to accomplish two
unrelated things.
From boris@c... Sat Jan 05 15:34:54 2008
Received: from
|
 | 

|  |
These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.
|  |
| |
 |
 |
 |