Files
cgrates/utils
ionutboangiu 6c41ebe0de Add sanity check to prevent xml reader panic
HierarchyPath parser now returns nil when
the path is empty (instead of a string slice with one
EmptyString element).

If the prefix is set to true, when calling the AsString
method on a nil HierarchyPath, only the separator will
be returned. This avoids a nil expr error coming from
the xmlquery library.

Use the Query and QueryAll functions from the xmlquery
package to be able to handle the errors ourselves and
avoid panics.

Remove config default value for xml_root_path. The field
will remain commented in config_defaults for reference.

Add tests for HierarchyPath.AsString function.

Add comments for XmlProvider and xml_root_path opt.
2023-10-16 13:18:12 +03:00
..
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00
2021-03-26 13:46:25 +01:00
2021-08-26 16:45:37 +02:00
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00
2021-01-11 10:57:44 +01:00
2021-01-07 18:15:35 +01:00
2021-11-01 13:49:33 +02:00
2021-03-26 13:46:25 +01:00
2021-04-02 13:42:24 +02:00
2021-02-16 18:18:32 +01:00
2021-08-26 16:45:37 +02:00
2021-11-01 13:49:33 +02:00
2023-02-24 16:50:48 +01:00
2023-09-12 18:10:02 +02:00
2023-02-27 09:14:45 +01:00
2022-10-19 09:43:33 +02:00
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00
2022-11-11 13:43:51 +01:00
2021-03-26 13:46:25 +01:00
2023-09-12 18:10:02 +02:00
2023-05-31 10:23:12 +02:00
2021-01-11 10:57:44 +01:00
2021-03-26 13:46:25 +01:00
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00