Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support For XPF Format Version 2.0 #132

Open
gangsterofboats opened this issue Nov 16, 2020 · 1 comment
Open

Support For XPF Format Version 2.0 #132

gangsterofboats opened this issue Nov 16, 2020 · 1 comment

Comments

@gangsterofboats
Copy link

Earlier this year Jim Horne updated the XPF format from version 1.0 to the current version 2.0, in part to be similar to the output of his Across Lite To Text program. Among the other changes he made is some of the XML tags are renamed, thus the XPFv2.0 files cannot be read by XWord, hence this issue.

@jpd236
Copy link
Contributor

jpd236 commented Nov 18, 2020

Adding support for reading the new version shouldn't be too difficult. One question here is what we should do when saving - do we just save using the new version too, or is there value in maintaining backwards compatibility by saving in the old format? Some options could be:

  1. Support XPF 2.0 as a fully separate format (so user has to choose to save in 1.0 or 2.0)
  2. Drop write support for XPF 1.0; always write as 2.0.
  3. Write as 2.0 except when the original input was XPF 1.0, in which case we use that version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants