|
Allows to check if the stream contains a reference to a entity, calling the resolver to get the replacement text to be placed.
- Parameters:
-
| resolver | The function to be called with the replacement text. This function must return the replacement text or NULL if it fails. Failing to return a reference resolution will make the entity reference to appear as is. |
| resolver | The entity reference resolver function to be called to solve references found. |
| data | User defined data provided to the function, passed directly to the resolver function once executed. |
| stream | The stream where the entity reference could appear. |
| prefix | The reference prefix to recognize. Values allowed are: % (DTD references) and & (general entity references). |
| error | Optional reference to the axlError to report textual diagnostic errors. |
- Returns:
- The function return false if some error while resolving entity references was found. Otherwise the function return true.
|