xml/libxml2libs/src/libxml2/libxml2_c14n.c
branchRCL_3
changeset 20 6b9cbc8ad81c
parent 0 e35f40988205
equal deleted inserted replaced
19:243519c5055f 20:6b9cbc8ad81c
  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