DFDL Schema for Windows and OS/2 BMP Image File Format.
This project uses Maven and plain Java (JDK 17+ recommended).
mvn clean testThe TDML-driven tests cover the "good" BMP Suite 2.8 files that the schema is expected to support.
src/main/resources/com/hiltonroscoe/bmp/xsd/bmp.dfdl.xsd— schemasrc/test/resources/com/hiltonroscoe/bmp/Bmpsuite.tdml— TDML test suitesrc/test/resources/com/hiltonroscoe/bmp/bmpsuite-2.8/...— vendored test data + infosetssrc/test/java/com/hiltonroscoe/bmp/TestBmpsuite.java— JUnit runnerpom.xml— Maven build (Daffodil TDML + JUnit 4)
- 24/24 must-pass good BMP Suite files parse and round-trip as expected.
- Schema handles OS/2 1.x (12-byte), Windows 3.x (40-byte), OS/2 2.x (64-byte) DIB headers.
See the LICENSE file for licensing terms.
The TDML tests include a subset of the "good" BMP image files from the BMP Suite 2.8. These BMP image files are in the public domain.