@@ -182,7 +182,7 @@ def gds_format_datetime(self, input_data, input_name=''):
182182 input_data .day ,
183183 input_data .hour ,
184184 input_data .minute ,
185- input_data .second
185+ input_data .second ,
186186 )
187187 else :
188188 _svalue = '%04d-%02d-%02dT%02d:%02d:%02d.%s' % (
@@ -692,10 +692,10 @@ def export(self, outfile, level, namespace_='eb:', name_='Manifest', namespacede
692692 def exportAttributes (self , outfile , level , already_processed , namespace_ = 'eb:' , name_ = 'Manifest' ):
693693 if self .version is not None and 'version' not in already_processed :
694694 already_processed .add ('version' )
695- outfile .write (' version=%s' % (self .gds_format_string (quote_attrib (self .version ).encode (ExternalEncoding ), input_name = 'version' ), ))
695+ outfile .write (' eb: version=%s' % (self .gds_format_string (quote_attrib (self .version ).encode (ExternalEncoding ), input_name = 'version' ), ))
696696 if self .id is not None and 'id' not in already_processed :
697697 already_processed .add ('id' )
698- outfile .write (' id=%s' % (self .gds_format_string (quote_attrib (self .id ).encode (ExternalEncoding ), input_name = 'id' ), ))
698+ outfile .write (' eb: id=%s' % (self .gds_format_string (quote_attrib (self .id ).encode (ExternalEncoding ), input_name = 'id' ), ))
699699 def exportChildren (self , outfile , level , namespace_ = 'eb:' , name_ = 'Manifest' , fromsubclass_ = False , pretty_print = True ):
700700 if pretty_print :
701701 eol_ = '\n '
@@ -886,13 +886,13 @@ def exportAttributes(self, outfile, level, already_processed, namespace_='eb:',
886886 outfile .write (' role=%s' % (self .gds_format_string (quote_attrib (self .role ).encode (ExternalEncoding ), input_name = 'role' ), ))
887887 if self .href is not None and 'href' not in already_processed :
888888 already_processed .add ('href' )
889- outfile .write (' href=%s' % (self .gds_format_string (quote_attrib (self .href ).encode (ExternalEncoding ), input_name = 'href' ), ))
889+ outfile .write (' xlink: href=%s' % (self .gds_format_string (quote_attrib (self .href ).encode (ExternalEncoding ), input_name = 'href' ), ))
890890 if self .type_ is not None and 'type_' not in already_processed :
891891 already_processed .add ('type_' )
892892 outfile .write (' type=%s' % (self .gds_format_string (quote_attrib (self .type_ ).encode (ExternalEncoding ), input_name = 'type' ), ))
893893 if self .id is not None and 'id' not in already_processed :
894894 already_processed .add ('id' )
895- outfile .write (' id=%s' % (self .gds_format_string (quote_attrib (self .id ).encode (ExternalEncoding ), input_name = 'id' ), ))
895+ outfile .write (' eb: id=%s' % (self .gds_format_string (quote_attrib (self .id ).encode (ExternalEncoding ), input_name = 'id' ), ))
896896 def exportChildren (self , outfile , level , namespace_ = 'eb:' , name_ = 'Reference' , fromsubclass_ = False , pretty_print = True ):
897897 if pretty_print :
898898 eol_ = '\n '
@@ -1053,10 +1053,10 @@ def export(self, outfile, level, namespace_='eb:', name_='Schema', namespacedef_
10531053 def exportAttributes (self , outfile , level , already_processed , namespace_ = 'eb:' , name_ = 'Schema' ):
10541054 if self .version is not None and 'version' not in already_processed :
10551055 already_processed .add ('version' )
1056- outfile .write (' version=%s' % (quote_attrib (self .version ), ))
1056+ outfile .write (' eb: version=%s' % (quote_attrib (self .version ), ))
10571057 if self .location is not None and 'location' not in already_processed :
10581058 already_processed .add ('location' )
1059- outfile .write (' location=%s' % (self .gds_format_string (quote_attrib (self .location ).encode (ExternalEncoding ), input_name = 'location' ), ))
1059+ outfile .write (' eb: location=%s' % (self .gds_format_string (quote_attrib (self .location ).encode (ExternalEncoding ), input_name = 'location' ), ))
10601060 def exportChildren (self , outfile , level , namespace_ = 'eb:' , name_ = 'Schema' , fromsubclass_ = False , pretty_print = True ):
10611061 pass
10621062 def exportLiteral (self , outfile , level , name_ = 'Schema' ):
@@ -1195,13 +1195,13 @@ def export(self, outfile, level, namespace_='eb:', name_='MessageHeader', namesp
11951195 def exportAttributes (self , outfile , level , already_processed , namespace_ = 'eb:' , name_ = 'MessageHeader' ):
11961196 if self .mustUnderstand is not None and 'mustUnderstand' not in already_processed :
11971197 already_processed .add ('mustUnderstand' )
1198- outfile .write (' mustUnderstand=%s' % (self .gds_format_string (quote_attrib (self .mustUnderstand ).encode (ExternalEncoding ), input_name = 'mustUnderstand' ), ))
1198+ outfile .write (' SOAP-ENV: mustUnderstand=%s' % (self .gds_format_string (quote_attrib (self .mustUnderstand ).encode (ExternalEncoding ), input_name = 'mustUnderstand' ), ))
11991199 if self .version is not None and 'version' not in already_processed :
12001200 already_processed .add ('version' )
1201- outfile .write (' version=%s' % (self .gds_format_string (quote_attrib (self .version ).encode (ExternalEncoding ), input_name = 'version' ), ))
1201+ outfile .write (' eb: version=%s' % (self .gds_format_string (quote_attrib (self .version ).encode (ExternalEncoding ), input_name = 'version' ), ))
12021202 if self .id is not None and 'id' not in already_processed :
12031203 already_processed .add ('id' )
1204- outfile .write (' id=%s' % (self .gds_format_string (quote_attrib (self .id ).encode (ExternalEncoding ), input_name = 'id' ), ))
1204+ outfile .write (' eb: id=%s' % (self .gds_format_string (quote_attrib (self .id ).encode (ExternalEncoding ), input_name = 'id' ), ))
12051205 def exportChildren (self , outfile , level , namespace_ = 'eb:' , name_ = 'MessageHeader' , fromsubclass_ = False , pretty_print = True ):
12061206 if pretty_print :
12071207 eol_ = '\n '
0 commit comments