My Lemmy Instance
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
renzev@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 year ago

AI's take on XML

lemmy.world

message-square
132
fedilink
1.25K

AI's take on XML

lemmy.world

renzev@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 year ago
message-square
132
fedilink
  • SzethFriendOfNimi@lemmy.world
    link
    fedilink
    arrow-up
    10
    ·
    edit-2
    1 year 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
      1 year 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.

      • SzethFriendOfNimi@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        1 year ago

        Is it because of the lower case Latin æ since it’s technically one character even if two bytes?

        • clb92@feddit.dk
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 year ago

          Nope, doesn’t seem like it.

          • SzethFriendOfNimi@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            What a mess… sounds like the devs got burned by various Unicode edge cases RTL, etc

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 37 users / day
  • 313 users / week
  • 1.87K users / month
  • 8.03K users / 6 months
  • 1 local subscriber
  • 38.4K subscribers
  • 1.4K Posts
  • 21.5K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.4
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org