| 4673 | } |
| 4674 | |
| 4675 | static const xmlChar * |
| 4676 | xmlSchemaGetNodeContent(xmlSchemaParserCtxtPtr ctxt, xmlNodePtr node) |
| 4677 | { |
| 4678 | xmlChar *val; |
| 4679 | const xmlChar *ret; |
| 4680 | |
| 4681 | val = xmlNodeGetContent(node); |
| 4682 | if (val == NULL) |
| 4683 | val = xmlStrdup((xmlChar *)""); |
| 4684 | ret = xmlDictLookup(ctxt->dict, val, -1); |
| 4685 | xmlFree(val); |
| 4686 | if (ret == NULL) |
| 4687 | xmlSchemaPErrMemory(ctxt); |
| 4688 | return(ret); |
| 4689 | } |
| 4690 | |
| 4691 | static const xmlChar * |
| 4692 | xmlSchemaGetNodeContentNoDict(xmlNodePtr node) |
no test coverage detected