Hello Jacques,
[hidden email] writes: > Modified: ofbiz/site/dtds/services.xsd > URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/services.xsd?rev=1866545&r1=1866544&r2=1866545&view=diff > ============================================================================== > --- ofbiz/site/dtds/services.xsd (original) > +++ ofbiz/site/dtds/services.xsd Sat Sep 7 06:28:44 2019 > @@ -153,12 +153,28 @@ under the License. > </xs:restriction> > </xs:simpleType> > </xs:attribute> > + <xs:attribute name="require-new-transaction" default="false"> > + <xs:simpleType> > + <xs:restriction base="xs:token"> > + <xs:enumeration value="true"/> > + <xs:enumeration value="false"/> > + </xs:restriction> > + </xs:simpleType> > + </xs:attribute> > + <xs:attribute name="return-error-on-failure" default="true"> > + <xs:annotation><xs:documentation>If set to false, when the permissions failed return the failMessage as error, else continue the service and give the hand to origin service to resolve the problem.</xs:documentation></xs:annotation> > + <xs:simpleType> > + <xs:restriction base="xs:token"> > + <xs:enumeration value="true"/> > + <xs:enumeration value="false"/> > + </xs:restriction> > + </xs:simpleType> > + </xs:attribute> Maybe we should use ‘xs:boolean’ instead? -- Mathieu Lirzin GPG: F2A3 8D7E EB2B 6640 5761 070D 0ADE E100 9460 4D37 |
Administrator
|
Le 07/09/2019 à 18:25, Mathieu Lirzin a écrit :
> Hello Jacques, > > [hidden email] writes: > >> Modified: ofbiz/site/dtds/services.xsd >> URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/services.xsd?rev=1866545&r1=1866544&r2=1866545&view=diff >> ============================================================================== >> --- ofbiz/site/dtds/services.xsd (original) >> +++ ofbiz/site/dtds/services.xsd Sat Sep 7 06:28:44 2019 >> @@ -153,12 +153,28 @@ under the License. >> </xs:restriction> >> </xs:simpleType> >> </xs:attribute> >> + <xs:attribute name="require-new-transaction" default="false"> >> + <xs:simpleType> >> + <xs:restriction base="xs:token"> >> + <xs:enumeration value="true"/> >> + <xs:enumeration value="false"/> >> + </xs:restriction> >> + </xs:simpleType> >> + </xs:attribute> >> + <xs:attribute name="return-error-on-failure" default="true"> >> + <xs:annotation><xs:documentation>If set to false, when the permissions failed return the failMessage as error, else continue the service and give the hand to origin service to resolve the problem.</xs:documentation></xs:annotation> >> + <xs:simpleType> >> + <xs:restriction base="xs:token"> >> + <xs:enumeration value="true"/> >> + <xs:enumeration value="false"/> >> + </xs:restriction> >> + </xs:simpleType> >> + </xs:attribute> > Maybe we should use ‘xs:boolean’ instead? Jacques |
Jacques Le Roux <[hidden email]> writes:
> Le 07/09/2019 à 18:25, Mathieu Lirzin a écrit : >> Hello Jacques, >> >> [hidden email] writes: >> >>> Modified: ofbiz/site/dtds/services.xsd >>> URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/services.xsd?rev=1866545&r1=1866544&r2=1866545&view=diff >>> ============================================================================== >>> --- ofbiz/site/dtds/services.xsd (original) >>> +++ ofbiz/site/dtds/services.xsd Sat Sep 7 06:28:44 2019 >>> @@ -153,12 +153,28 @@ under the License. >>> </xs:restriction> >>> </xs:simpleType> >>> </xs:attribute> >>> + <xs:attribute name="require-new-transaction" default="false"> >>> + <xs:simpleType> >>> + <xs:restriction base="xs:token"> >>> + <xs:enumeration value="true"/> >>> + <xs:enumeration value="false"/> >>> + </xs:restriction> >>> + </xs:simpleType> >>> + </xs:attribute> >>> + <xs:attribute name="return-error-on-failure" default="true"> >>> + <xs:annotation><xs:documentation>If set to false, when the permissions failed return the failMessage as error, else continue the service and give the hand to origin service to resolve the problem.</xs:documentation></xs:annotation> >>> + <xs:simpleType> >>> + <xs:restriction base="xs:token"> >>> + <xs:enumeration value="true"/> >>> + <xs:enumeration value="false"/> >>> + </xs:restriction> >>> + </xs:simpleType> >>> + </xs:attribute> >> Maybe we should use ‘xs:boolean’ instead? > Right Mathieu, done Thanks Jacques. -- Mathieu Lirzin GPG: F2A3 8D7E EB2B 6640 5761 070D 0ADE E100 9460 4D37 |
Free forum by Nabble | Edit this page |