### Discussed in https://github.com/LibreDWG/libredwg/discussions/515

<div type='discussions-op-text'>

<sup>Originally posted by **cbvgn** August  4, 2022</sup>
* [x] File 222.dxf has a root dictionary, but not as the first entity in the OBJECTS section as required
* [x] File A2.dxf has an invalid empty line at line number 18395 and 18498, after fixing that same issue as in file 222.dxf
[invalid files.zip](https://github.com/LibreDWG/libredwg/files/9256490/invalid.files.zip)

</div>
Invalid DXF files created
This is a GitHub Issue
repo:libredwg
owner:LibreDWG
Title : Invalid DXF files created
Issue date:

--- start body ---
### Discussed in https://github.com/LibreDWG/libredwg/discussions/515

<div type='discussions-op-text'>

<sup>Originally posted by **cbvgn** August  4, 2022</sup>
* [x] File 222.dxf has a root dictionary, but not as the first entity in the OBJECTS section as required
* [x] File A2.dxf has an invalid empty line at line number 18395 and 18498, after fixing that same issue as in file 222.dxf
[invalid files.zip](https://github.com/LibreDWG/libredwg/files/9256490/invalid.files.zip)

</div>
--- end body ---
