Skip to content

XML formatter tweaks #18

@coreation

Description

@coreation

Problem

  1. Straight up utf8_encode'ing everything is quite frankly bad practice, at least a check should be done on which encoding is used on the data that enters the formatter.

  2. XML has a problem in its spec with a tag name starting with a numer, currently it's being solved by pre-pending an "i"-character in front of it, an underscore is better alternative.

Solution

Currently, the encoding should be removed, and the data just be displayed in the formatter. Replace the "i"-character with a defined pre-pending character, currently assigned with an underscore.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions