cvs commit: ALFS/nALFS/src libXML-tree.c

kpfleming at linuxfromscratch.org kpfleming at linuxfromscratch.org
Sat Mar 13 20:46:37 PST 2004


kpfleming    04/03/13 21:46:37

  Modified:    nALFS/src libXML-tree.c
  Log:
  don't allow child elements unless parent element provides a validator
  
  Revision  Changes    Path
  1.17      +3 -0      ALFS/nALFS/src/libXML-tree.c
  
  Index: libXML-tree.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/libXML-tree.c,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- libXML-tree.c	29 Feb 2004 03:32:14 -0000	1.16
  +++ libXML-tree.c	14 Mar 2004 04:46:36 -0000	1.17
  @@ -245,6 +245,9 @@
   			Nprint_warn("<%s>: <%s> not valid here.", parent->name, handler->name);
   			return -1;
   		}
  +	} else {
  +		Nprint_warn("<%s>: <%s> not valid here.", parent->name, handler->name);
  +		return -1;
   	}
   
   	if (handler->setup && ((result = handler->setup(element)) == 0)) {
  
  
  



More information about the alfs-log mailing list