[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: [ebxml-cppa] Data type for uuid attribute inProcessSpecificationelement in ebBPSS1.02.xsd
Arvola: I believe that is becuase the "xsd:id" datatype is to be used the same as ID's in XML v 1.0. It is not meant to be used for UUID's in the way the ebXML requirements dictate (ie - globally unique). I believe that its' primary intended use was to be lexiaclly scoped to IDREF type resolutions. I may be wrong, however. Maybe one of the XSD gurus can elaborate more? Duane > Arvola Chan wrote: > > The following naming scheme is recommended in > http://www.ebxml.org/specs/bpWS.doc: > > A BPINS naming scheme format is defined by : > > bpid:<agency>:<agency-id>:<business-process-name>$<major-version-number>.<minor-version-number> > > In ebBPSS1.02.xsd, the uuid attribute in the ProcessSpecification > element is defined to be of type xsd:ID. This is in conflict with the > above recommendation for assigning uuid's for ProcessSpecification > because the character ':' is not allowed in the type "xsd:ID". > > I think uuid should be redefined to be of type "anyURI". If it is > necessary to ensure that the ProcessSpecification elements within a > BPSS instance have unique uuid's, then perhaps an explicit uniqueness > constraint can be defined. > > Excerpts from http://www.w3.org/TR/xmlschema-2/#ID: > > 3.3.8 ID > > [Definition:] ID represents the ID attribute type from [XML 1.0 > (Second Edition)]. The ·value space· of ID is the set of all strings > that ·match· the NCName production in [Namespaces in XML]. The > ·lexical space· of ID is the set of all strings that ·match· the > NCName production in [Namespaces in XML]. The ·base type· of ID is > NCName. > > [4] NCName::= (Letter | '_') (NCNameChar)* /* An XML Name, > minus the ":" > */ > [5] NCNameChar::= Letter | Digit | '.' | '-' | '_' > | CombiningChar | Extender > > -Arvola > > -- CTO, XML Global Technologies **************************** Transformation - http://www.xmlglobal.com/prod/foundation/ ebXML Central - http://www.xmlglobal.com/prod/central/
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC