# MyBatis 3 mapper

Source: https://xmlvalid.com/schemas/mybatis-3-mapper

> MyBatis mapper XML files: SQL statements, result maps and dynamic SQL.

A mapper file pairs SQL with a Java interface. The DTD checks the statement elements, result maps and dynamic SQL tags (if, choose, foreach).

- Type: DTD
- Version: 3
- Namespace: `No namespace`
- Root element: `mapper`
- Publisher: MyBatis (Apache License 2.0), source: https://mybatis.org/dtd/mybatis-3-mapper.dtd
- Validate against it: https://xmlvalid.com/validate?schema=mybatis-3-mapper

## Notes

- SQL text is not parsed, and type and property names are not checked against Java classes.
- The example is by xmlvalid.com.
