[sword-cvs] sword/include utilxml.h,1.6,1.7

sword@www.crosswire.org sword@www.crosswire.org
Tue, 15 Jul 2003 21:55:45 -0700


Update of /usr/local/cvsroot/sword/include
In directory www:/tmp/cvs-serv26977/include

Modified Files:
	utilxml.h 
Log Message:
Added a work around to osisfootnotes for a bug in the KJV2003 module where some
notes of strongsMarkup type are incorrectly marked as <note .../>...</note>



Index: utilxml.h
===================================================================
RCS file: /usr/local/cvsroot/sword/include/utilxml.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- utilxml.h	5 Jul 2003 04:58:42 -0000	1.6
+++ utilxml.h	16 Jul 2003 04:55:43 -0000	1.7
@@ -60,6 +60,11 @@
 
 		return empty;
 	}
+	inline void setEmpty(bool value) {
+		if (!parsed)
+			parse();
+		empty = value;
+	}
 
 	inline bool isEndTag() const { return endTag; }