1. Create an ApacheDS schema file containing an attribute type with the following attribute:
m-description: Object's attribute
2. Import the schema, export it as OpenLDAP schema
The exported file will include
DESC 'Object's attribute'
so it will have invalid syntax.
I have not checked other characters that will need to be escaped when exported to OpenLDAP schema.