atom feed23 messages in org.oasis-open.lists.ublRe: [ubl] Global vs. Local -- Gunther...
FromSent OnAttachments
Jim WilsonFeb 25, 2003 10:26 am.zip
Dave CarlsonFeb 25, 2003 4:41 pm 
Stuhec, GuntherFeb 25, 2003 9:58 pm 
Eve L. MalerMar 12, 2003 7:40 am.doc
Eve L. MalerMar 12, 2003 7:54 am.doc
Stuhec, GuntherMar 14, 2003 4:37 pm 
Eve L. MalerMar 14, 2003 5:33 pm 
CRAWFORD, MarkMar 14, 2003 5:55 pm 
Dan VintMar 14, 2003 9:44 pm 
Eve L. MalerMar 15, 2003 4:46 am 
Stig KorsgaardMar 17, 2003 6:09 am 
Eve L. MalerMar 17, 2003 6:29 am 
Dave CarlsonMar 17, 2003 7:09 am 
Stig KorsgaardMar 17, 2003 8:11 am 
Stig KorsgaardMar 17, 2003 8:24 am 
CRAWFORD, MarkMar 17, 2003 8:28 am 
Dave CarlsonMar 17, 2003 8:55 am 
robe...@gerbercoburn.comMar 17, 2003 9:01 am 
CRAWFORD, MarkMar 17, 2003 9:06 am 
Dave CarlsonMar 17, 2003 9:13 am 
Eve L. MalerMar 19, 2003 6:16 am 
Dave CarlsonMar 19, 2003 7:07 am 
Dave CarlsonMar 19, 2003 7:18 am 
Subject:Re: [ubl] Global vs. Local -- Gunther's Recommendation
From:Eve L. Maler (eve.@sun.com)
Date:Mar 15, 2003 4:46:53 am
List:org.oasis-open.lists.ubl

I should explain a bit more... I'm absolutely open to the possibility of learning that there's something about the OO connection that makes one or another XSD approach more viable or optimal, and if such features are weighed against the benefits of referenceable (global) element declarations and found more important by the group, fine.

But, just as an example, in my work on the SAML schemas, I haven't heard any feedback from my JAXB colleagues that the choice of global vs. local makes much of a difference in the results of pushbutton class generation. (On the other hand, I have heard from them on things like wildcards and substitution groups vs. choice groups, none of which seems to be an issue here.) I should have thought to check with them before now, and will do so and report what I learn.

I have to admit that the discussion we've been having about global vs. local is making me think that I would have done SAML differently; currently all the elements there are global. What I might have done instead is make only the elements we deem reusable (assertions, requests, and responses mainly) global, with the rest being local and qualified; you can currently reuse an element in the middle of SAML's model, but doing so has no standardized semantics and is forbidden in prose.

However, since UBL is supposed to be a reusable library of well-defined semantics, any global element bound to a type has at least that much meaning, and could be useful for customizers in building new document types. (Do we need to better validate this use case?) But if OO practice doesn't interfere with it, then I would still be on the side of enabling element-level reuse.

Eve

Dan Vint wrote:

I'll jump in here as well and agree with Eve and Mark. I'm new to this process, but it seems to me we should be making "proper" XML. Technology changes and next week UML might not be the way to model things and FOO is the latest methodology, would we change the design/process to then be more conformant with that methodology? Why shouldn't we choose ER diagrams as the better modeling environment and make our XML look like tables?

I have some trouble with the idea of trying to force XML into tools/methods that aren't designed to be used with it or for it. There are things in UML/OO that I can do that I can't in XML, and likewise things and methods in XML that don't map well to UML/OO.

Until someone comes up with a truly universal modeling language that can handle OO, relational databases, XML, etc. without "forcing the process or method" I don't see how you can choose something that doesn't work completely with the target implementation and say it should conform to the other. Maybe OO languages will morph to something that better fits the XML world in the near future.

This is another opinion from a non--OO comfortable developer.

..dan