[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [ubl] Global vs. Local -- Gunther's Recommendation
----- Original Message ----- From: <robert.shanbaum@gerbercoburn.com> > Please forgive the ignorance my question betrays, but I'm new to this. > > Am I reading that globally-defined elements must for some reason have unique > tags (such as "BuyerID" which would lead to a more fully-qualified names > like "BuyerParty/BuyerID"), and that locally-defined ones would allow the > use of more "generic" identifiers such as "ID" and "BuyerParty/ID"? > In XSD, a global element has a scope of the entire targetNamespace. Whereas, local elements (similar to OO members) are scoped to the complexType (class), thus requiring qualified element names unless the same element name with the same type can be used across several complexType definitions. > Coming from an OO background, this seems rather retrograde. I can't > represent in an XML schema, a "Party" class from which "Buyer" and "Seller" > alike can descend? > Although you can do this for either local or globally defined element names, whatever element names used by the Party superclass are inherited (qualified or unqualified names) by all subclasses. ---------------------------------------------------------------- To subscribe or unsubscribe from this elist use the subscription manager: <http://lists.oasis-open.org/ob/adm.pl> Received: (qmail 27863 invoked by uid 60881); 19 Mar 2003 23:22:35 -0000 Received: from Jon.Bosak@sun.com by hermes by uid 0 with qmail-scanner-1.15 (spamassassin: 2.43. Clear:SA:0(0.0/8.0):. Processed in 0.221478 secs); 19 Mar 2003 23:22:35 -0000 X-Spam-Status: No, hits=0.0 required=8.0 Received: from unknown (HELO patan.sun.com) (192.18.98.43) by mail.oasis-open.org with SMTP; 19 Mar 2003 23:22:35 -0000 Received: from hsoak01a.SFBay.Sun.COM ([129.149.70.1]) by patan.sun.com (8.9.3+Sun/8.9.3) with ESMTP id QAA10749; Wed, 19 Mar 2003 16:30:23 -0700 (MST) Received: (from bosak@localhost) by hsoak01a.SFBay.Sun.COM (8.11.6+Sun/8.9.3/ENSMAIL,v2.2) id h2JNTuI04057; Wed, 19 Mar 2003 15:29:56 -0800 (PST) Date: Wed, 19 Mar 2003 15:29:56 -0800 (PST) From: Jon Bosak <Jon.Bosak@sun.com> Message-Id: <200303192329.h2JNTuI04057@hsoak01a.SFBay.Sun.COM> To: gkholman@CraneSoftwrights.com CC: ubl@lists.oasis-open.org, ubl-fssc@lists.oasis-open.org In-reply-to: <5.2.0.9.0.20030319063638.02bf6388@pop.storm.ca> (gkholman@CraneSoftwrights.com) Subject: Re: [ubl] Establishing the UBL Forms Presentation Subcommittee (FPSC) Reply-to: jon.bosak@sun.com | At 2003-03-18 19:58 -0800, Jon Bosak wrote: | >2. That G. Ken Holman shall be appointed chair of the FPSC and | > that Sue Probert, Gunther Stuhec, and Dan Vint shall be its | > initial voting members. | | In alphabetical order I have the list as follows, which includes two people | who have expressed their desire to be voting members (though I need to | check with Jon regarding membership rules for Jodi (of LMI) and Eric | (individual)): | | G. Ken Holman (chair) | Jodi Narel | Sue Probert | Eric Smith | Gunther Stuhec | Dan Vint If no one has any objection, please consider the added members as part of the resolution to form the FPSC. Jon
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]