fwcd / fwcd/swift-ordered-plist-encoder

Investigate writing custom XML serializer

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Swift
Stars
5
Forks
1
PR merge metrics
No merged PRs in 30d

Description

To avoid subtle incompatibilities between Darwin and Linux (such as the different handling on `` prologues), we could write our own `XMLDocument` to `String` conversion or just roll our own XML element types.

This would also give us fine control over formatting without having to patch the string afterwards (which is a lot slower).

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the current XMLDocument-to-String conversion and comparing the Darwin and Linux handling of XML prologues. The issue offers two possible approaches but names no files or tests; completion would require choosing a serializer scope and defining the expected formatting and compatibility behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
data
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.