From: pascale.noyret Date: Fri, 9 Oct 2020 08:49:40 +0000 (+0200) Subject: False 2 false X-Git-Tag: MDM_V0~4^2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fa3feb0574bbb0306ff57dcf85bbdfb882d27081;p=tools%2Feficas.git False 2 false --- diff --git a/Efi2Xsd/AccasXsd.py b/Efi2Xsd/AccasXsd.py index e3c5f81e..8e28d7d4 100755 --- a/Efi2Xsd/AccasXsd.py +++ b/Efi2Xsd/AccasXsd.py @@ -493,7 +493,7 @@ class X_definitionComposee (X_definition): self.getNomDuCodeDumpe() if first : - if multiple : self.nomDuTypePyxb = self.definitNomDuTypePyxb(forceACreer) + if multiple : self.nomDuTypePyxb = self.definitNomDuTypePyxb(forceACreer=True) else : self.nomDuTypePyxb = self.definitNomDuTypePyxb() self.texteSimple = "" # on n ajoute pas de type simple @@ -795,7 +795,8 @@ class X_SIMP (X_definition): for val in self.defaut : txtDefaut+=str(val) +" " self.texteElt = eltWithDefautDsSequence.format(self.nom,self.code,self.nomDuTypePyxb,minOccurs,1,txtDefaut) else : - if str(self.defaut) == 'True' : txtDefaut = 'true' + if str(self.defaut) == 'True' : txtDefaut = 'true' + elif str(self.defaut) == 'False' : txtDefaut = 'false' else : txtDefaut = str(self.defaut) self.texteElt = eltWithDefautDsSequence.format(self.nom,self.code,self.nomDuTypePyxb,minOccurs,1,txtDefaut) else : self.texteElt = eltDsSequence.format(self.nom,self.code,self.nomDuTypePyxb,minOccurs,1)