• SzethFriendOfNimi@lemmy.world
    link
    fedilink
    arrow-up
    10
    ·
    edit-2
    2 months ago

    Sounds like it’s actually using XSLT or some kind of content validation. Which to be honest sounds like a good practice.

    • clb92@feddit.dk
      link
      fedilink
      English
      arrow-up
      9
      ·
      edit-2
      2 months ago

      Here’s an example of a text object taken from the XML, if you’re curious: https://clips.clb92.xyz/2024-09-08_22-27-04_gfxTWDQt13RMnTIS.png

      EDIT: And with more complicated strings (like numbers or symbols - just regular-ass ASCII symbols) there will be tens of <stringItem>, because apparently numbers and letters don’t even work the same. Even line breaks have their own <stringItem>. And if the number of these <stringItem> and their charLen don’t match what’s actually in pt:data, it won’t open the file.