[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: AW: [uddi-spec] uddi 3.1 problem (fwd)
Hi Claus, I agree that replication schema should also use global, named complex types for consistency. ---------------------------------------------------------------------------- Paul E. Thorpe Toll Free : 1-888-OSS-ASN1 OSS Nokalva International: 1-732-302-0750 Email: thorpe@oss.com Tech Support : 1-732-302-9669 http://www.oss.com Fax : 1-732-302-0023 On Fri, 30 Jul 2004, Von Riegen, Claus wrote: > Paul, > > Good catch! > > While the use of the final attribute was intentional, it was obviously used erroneously in the replication schema. > Note that all other UDDI schemas use global, named complex types, which seems to be the approach we should also use for the replication schema. > > Thoughts? > > Claus > > -----Ursprüngliche Nachricht----- > Von: Paul Thorpe [mailto:thorpe@oss.com] > Gesendet: Freitag, 30. Juli 2004 00:50 > An: uddi-spec@lists.oasis-open.org > Betreff: [uddi-spec] uddi 3.1 problem (fwd) > > > Hi, > > I am not sure how to create a "defect report" agains the UDDI version 3.1 > specification, so I am forwarding the problem to you here. Please let me > know if there is something else I need to do. > > I have attached a corrected version of uddi_v3replication.xsd, in which > I have removed all occurrences of 'final' attribute for local complex types: > > <element name="changeRecord"> > <complexType final="restriction"> > > changed to > > <element name="changeRecord"> > <complexType> > > because local complex types cannot have this attribute according to Schema > for Schemas (see '>>>' below): > > <xs:complexType name="localComplexType"> > <xs:complexContent> > <xs:restriction base="xs:complexType"> > <xs:sequence> > <xs:element ref="xs:annotation" minOccurs="0"/> > <xs:group ref="xs:complexTypeModel"/> > </xs:sequence> > <xs:attribute name="name" use="prohibited"/> > <xs:attribute name="abstract" use="prohibited"/> > >>> <xs:attribute name="final" use="prohibited"/> > <xs:attribute name="block" use="prohibited"/> > </xs:restriction> > </xs:complexContent> > </xs:complexType> > > I could not find any text about this restriction in W3C Schema standard but > it looks logical (one anyway cannot extend or restrict a local unnamed > complex type because it cannot be referenced by name, so 'final' doesn't > change anything), and the fact that Schema for Schemas forbids it should > be enough because it is normative. > > ---------------------------------------------------------------------------- > Paul E. Thorpe Toll Free : 1-888-OSS-ASN1 > OSS Nokalva International: 1-732-302-0750 > Email: thorpe@oss.com Tech Support : 1-732-302-9669 > http://www.oss.com Fax : 1-732-302-0023 > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]