Serialization option flags
Serialization option flags for the xml.Serializer class.
| Flag | Description |
|---|---|
xml_ignoretimezone |
Defines that the serializer ignores the time zone information, during the marshalling and un-marshalling process of a BDL DATETIME data type. A value of zero means Throws an exception in case of errors, and updates status with an error code. |
xml_ignoreunknownelements |
Force the XML serializer to ignore unexpected elements that are not defined in the XML schema. See XML to BDL serialization options. 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_ignoreunknownattributes |
Force the XML serializer to ignore unexpected attributes that are not defined in the XML schema. See XML to BDL serialization options. A value of zero means 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 " A value of zero means Throws an exception in case of errors, and updates status with an error code. |
xml_useutctime |
Defines that BDL DATETIME data type is converted to UTC time during the serializer marshalling process. A value of zero means Throws an exception in case of errors, and updates status with an error code. |
xop_threshold |
When using the optimized serializer APIs, you can set a size that determines
whether the BYTE is handled as a separate part (with an XML-Binary Optimized
document created for it) or whether it is transmitted inline and encoded in base64
format.In this example,
By default, the size is
zero (0), and all |
xs_processcontents |
Defines the way to generate wildcard elements and attributes in XML schemas via the XML schema
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". |