XML serialization classes / The Serializer class |
Serialization option flags for the xml.Serializer class.
Flag | Description |
---|---|
xml_ignoretimezone | Defines whether, during the marshalling and un-marshalling process of a BDL DATETIME data type, the Serializer should ignore the time zone information. A value of zero means FALSE. The default is FALSE. Throws an exception in case of errors, and updates status with an error code. |
xml_usetypedefinition | Defines whether the Serializer must specify the type of data during serialization. This will add an "xsi:type" attribute to each XML data type. A value of zero means FALSE. The default is FALSE. Throws an exception in case of errors, and updates status with an error code. |
xml_useutctime | Defines whether, during the marshalling process of a BDL DATETIME data type, the Serializer should convert it into UTC time. A value of zero means FALSE. The default is FALSE. Throws an exception in case of errors, and updates status with an error code. |
xs_processcontents | Defines the way to generate wildcard elements and attributes in XML schemas via the XML schema processContents tag. See Table 2 Throws an exception in case of errors, and updates status with an error code. |
Value | Description |
---|---|
0 | No processContents tag will be generated. (default) |
1 | Generation of processContents="skip". |
2 | Generation of processContents="lax". |
3 | Generation of processContents="strict". |