Comments (7)
On another note, Forgot to mention this. The error might not be with the "-2" but if you look at the last screenshot, the reader sees the value "20" of code 3055 as an element of c228. c288 as only 2 elements and the value 20 is on the 3th element of c040. I think there is the real issue as opposed to what I said earlier.
from staedi.
@josecaster - thanks for reporting. I'll let you know what I find as soon as I can.
from staedi.
@josecaster - are you using version 1.7.1? In a quick test I did not get the error using 1.7.1 or the current 1.8 development version in the master
branch.
from staedi.
Hi @josecaster - were you able to get it working?
from staedi.
Hey,
Sorry for the late reply, I wasn't aware that you already replied. I am using version 1.7.1. I think I know why you didn't get the error. There was an error in the date of the UNH and needed to fix that before the Validator unfolds other errors. Can you please test with this new file. And if it works should I use 1.8?
edi.zip
from staedi.
@josecaster, I am still not able to reproduce it with the new file (I do get an "element too short error though" on the UNB date). The date length is 8 chars since the UNB01.2 is version 4
.
I also added this to the schema for the CNT
segment that is located before the UNT
.
<elementType name="6066" base="decimal" maxLength="18"/>
<elementType name="6069" base="string" maxLength="3"/>
<compositeType name="C270">
<sequence>
<element type="6069" minOccurs="1"/>
<element type="6066" minOccurs="1"/>
<element type="6411" />
</sequence>
</compositeType>
<segmentType name="CNT">
<sequence>
<composite type="C270" minOccurs="1"/>
</sequence>
</segmentType>
If there is any way you can send more of your application code or a small example program that reproduces the issue, I can dig deeper.
Version 1.8 is not yet released. There are a few more features I'd like to incorporate and there is a new version of the schema format (xmlns v4).
from staedi.
Found the issue on my side. Thanks for the support. Very quick feedback, it was no issue at all.
FYI I forgot that I wasn't validating the same file but I was validating a file which I rewrote and since there was an issue with the rewritten addition I experienced the issues. Thanks again for the support.
from staedi.
Related Issues (20)
- Repetition Elements are not being correctly identified HOT 3
- Error reported when reading ANSI encoded txt file HOT 27
- Missing Mandatory Segments HOT 8
- Does enumerated elements really requires minLength and maxLength? HOT 12
- Reporting a vulnerability HOT 2
- How to apply relational condition in schema HOT 11
- X12 unexpected segment error occurred when first segment of loop is missing HOT 5
- Support multiple ISA segments in an X12 EDI file
- Validator should be reset at end of interchange
- titles for segments like BGN, ST, INS are not accessible in 834 EDI HOT 1
- Adding condition to writeSegment HOT 4
- Option to ignore repetition separator in the ST/SE segments HOT 8
- default decimal mark is point (.) when UNA segment is not present HOT 2
- HL Segment is not interpreted correctly by ReaderService HOT 17
- How to define element inside element in schema? HOT 7
- How to process large EDI files in reader service HOT 5
- staedi api : EDIStreamReader fail to parse if segment element has accent marks . HOT 12
- Edi 835 Never Emitting a START_TRANSACTION HOT 3
- dots in an element in the ISA results in ELEMENT_OCCURRENCE_ERROR HOT 2
- Improper parse of simple 837 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from staedi.