[MDEV-26905] Invalid format of Index.xml - the file list of all available character sets Created: 2021-10-26  Updated: 2023-11-28

Status: Open
Project: MariaDB Server
Component/s: Character Sets
Affects Version/s: 10.2, 10.3, 10.4, 10.5, 10.6
Fix Version/s: 10.11

Type: Bug Priority: Minor
Reporter: Zuzana Miklankova Assignee: Alexander Barkov
Resolution: Unresolved Votes: 0
Labels: None

Attachments: File xml_parser_errors.log    

 Description   

The sql/share/charsets/Index.xml is not correctly formatted XML file.

Problem is in redefinition of the "flag" attribute in collation names.

The list of XML parser errors can be gathered, e.g., with xmllint tool (output of xmllint enclosed as file attachment).

First error for better picture is as follows:

./sql/share/charsets/Index.xml:75: parser error : Attribute flag redefined
<collation name="latin2_nopad_bin" id="1101" flag="binary" flag="nopad"/>
^
Related is then also the Index.xml dedicated for testing purposes (mysql-test/std_data/ldml/Index.xml), which is also ill-formatted.


Generated at Thu Feb 08 09:48:50 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.