xml/libxml2libs/src/libxml2/libxml2_c14n.c
changeset 15 9b1f1fe06753
parent 0 e35f40988205
equal deleted inserted replaced
3:e724ec518437 15:9b1f1fe06753
  1114  */
  1114  */
  1115 static int
  1115 static int
  1116 xmlC14NProcessElementNode(xmlC14NCtxPtr ctx, xmlNodePtr cur, int visible)
  1116 xmlC14NProcessElementNode(xmlC14NCtxPtr ctx, xmlNodePtr cur, int visible)
  1117 {
  1117 {
  1118 	int ret;
  1118 	int ret;
  1119     xmlC14NVisibleNsStack state ;
  1119     xmlC14NVisibleNsStack state ={0,0,0,0,NULL,NULL};
  1120     int parent_is_doc = 0;
  1120     int parent_is_doc = 0;
  1121     LOAD_GS_SAFE_NODE(cur)
  1121     LOAD_GS_SAFE_NODE(cur)
  1122 
  1122 
  1123     if (!ctx || !cur || (cur->type != XML_ELEMENT_NODE)) {
  1123     if (!ctx || !cur || (cur->type != XML_ELEMENT_NODE)) {
  1124 #ifdef DEBUG_C14N
  1124 #ifdef DEBUG_C14N