
<     if ((content->c1->type == XML_ELEMENT_CONTENT_OR) ||
---
>     if (content->c1 && content->c1->type) {
>         if ((content->c1->type == XML_ELEMENT_CONTENT_OR) ||
>     }
