Skip to content

Handle ipuz files with 0-based coordinates, alternate clue list titles #219

@jpd236

Description

@jpd236

Full context: https://docs.google.com/document/d/1Z_SUnm8oYxH4LQBlHacmErK36naUFhRwIn81yDce2Yg/edit?tab=t.0

We've identified some ambiguities in the ipuz spec that break interoperability between different apps which read/write ipuz.

For XWord, we should do the following:

  • Support the ":" operator in clue list titles, which allows specifying a display title that differs from the direction. (Not technically an ambiguity, but a missing feature we should have handled)
  • If 1-based indices on clue coordinates result in any invalid coordinates, and all 0-based indices are valid, use 0-based. otherwise use 1-based.

In the future, if/when there is an ipuz 2.1/3.0 that explicitly states that it uses 0-based indices, we should also support that, but that can be tracked separately when ready.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions