xml (TP012)#
Automatic fix is available.
What it does#
Checks for usage of xml.
Why not?#
Downsides to using XML include slower processing and querying due to its complexity, higher storage requirements and challenges in efficient indexing, rigidity in adapting to schema changes, and the overall complexity in data handling due to XML's verbose and hierarchical structure. These factors suggest that XML can lead to increased resource usage and development difficulties, making formats like JSON more suitable.
When should you?#
Despite its drawbacks, XML might be suitable when there is a need for data interchange with systems that require XML format, or when dealing with legacy systems where data is already in XML format.
Use instead:#
jsonb.