v1.9.2 - Bug Fixes for Unexpected Exceptions
Change summary:
- [ #68, #69 ] Delay EDIFACT version parse until end of composite element UNB01. Previously incorrect assumptions were made about the element sizes to determine when to initiate parsing the version.
- [ #70, #71 ] Throw EDIStreamException immediately from Lexer#parser in INVALID state. When using a filtered
XMLStreamReader
from StAX (xerces implementation in OpenJDK), exceptions thrown from theLexer
during the filter's initialization are swallowed. This change allows them to be correctly thrown again when the filter is first used.