Allows to parse the provided entity, which is expected to contain a DTD (Document Type Definition).
- Parameters:
-
| entity | The document type definition to parse. |
| entity_size | The document size, or -1 to make the function to figure out current size. |
| error | An optional axlError where errors will be reported. |
- Returns:
- A newly allocated axlDtd that must be deallocated when no longer need with axl_dtd_free. The function could return NULL on failure detected. On that case, it is requred to check axlError variable, if defined.