Giter Site home page Giter Site logo

Comments (4)

sabas avatar sabas commented on June 16, 2024

What's your use case for Reader? What you would like to achieve?

from edifact.

gaxweb avatar gaxweb commented on June 16, 2024

Well, I want to extract that line of text. What are you implying by your question?

I've just found https://www.truugo.com/edifact/d96a/imd/ which seems to indicate that the D96.A schema actually defines two lines. If that's true, which would mean that splitting lines isn't actually a feature, then I could at least handle it by first retrieving the 1st part and then just appending the 2nd part, if not empty.

from edifact.

sabas avatar sabas commented on June 16, 2024

Not implying anything, I wanted to understand your use case and see if we can add a simpler way :) in my use cases usually I use the Interpreter class and I extract the information while looping the segments, are you looking to extract only that line?
Edit: this C273 is strange, other composite data elements are 35 characters fields only...

from edifact.

gaxweb avatar gaxweb commented on June 16, 2024

The text is actually hundreds of characters long, and the split occurs after 255 characters…

I actually hadn't even considered the Interpreter TBH. I think I initially dismissed it because I thought it would need more RAM to do it's thing, it being XML based. Thanks, I shall try and see how it does.

But I think I'll just do as I said, now that I've thought about it, and just concatenate the two sub-segments.

Since this doesn't actually seem to be an EDIFACT feature, I'll close this ticket.

from edifact.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.