Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail parsing on empty $FINGERPRINTGUID and $VERSIONGUID #21

Closed
kurtlawrence opened this issue Jul 10, 2021 · 2 comments
Closed

Fail parsing on empty $FINGERPRINTGUID and $VERSIONGUID #21

kurtlawrence opened this issue Jul 10, 2021 · 2 comments

Comments

@kurtlawrence
Copy link
Contributor

Hi there,

I am receiving a parsing error for the attached DXF file.
out1.zip

If I remove the lines 950-957 it successfully parses. The contents of those lines is as follows:

$FINGERPRINTGUID
  2

  9
$VERSIONGUID
  2

  9

I am wondering if it is possible to have a loading mechanism that is tolerant of these empty entries?

@kurtlawrence
Copy link
Contributor Author

Looks like it is related to: ixmilia/dxf#83

@brettfo
Copy link
Member

brettfo commented Jul 12, 2021

Good call, and you're right, the fix was exactly the same as the C# version of this library. I've pushed a commit that covers this case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants