| 193 | */ |
| 194 | |
| 195 | int |
| 196 | xmlStrQEqual(const xmlChar *pref, const xmlChar *name, const xmlChar *str) { |
| 197 | if (pref == NULL) return(xmlStrEqual(name, str)); |
| 198 | if (name == NULL) return(0); |
| 199 | if (str == NULL) return(0); |
| 200 | |
| 201 | do { |
| 202 | if (*pref++ != *str) return(0); |
| 203 | } while ((*str++) && (*pref)); |
| 204 | if (*str++ != ':') return(0); |
| 205 | do { |
| 206 | if (*name++ != *str) return(0); |
| 207 | } while (*str++); |
| 208 | return(1); |
| 209 | } |
| 210 | |
| 211 | /** |
| 212 | * xmlStrncmp: |
no test coverage detected