store the line numbder in element->content, may break some software, need

* DOCBparser.c HTMLparser.c HTMLtree.c SAX.c debugXML.c parser.c
  tree.c xpointer.c: store the line numbder in element->content,
  may break some software, need a configuration mechanism
Daniel
diff --git a/debugXML.c b/debugXML.c
index 92d71cb..a36ad03 100644
--- a/debugXML.c
+++ b/debugXML.c
@@ -248,7 +248,8 @@
 	    fprintf(output, ", MIXED ");
 	    break;
     }
-    if (elem->content != NULL) {
+    if ((elem->type != XML_ELEMENT_NODE) &&
+	(elem->content != NULL)) {
 	char buf[5001];
 
 	buf[0] = 0;
@@ -602,7 +603,8 @@
     if (node->properties != NULL)
 	xmlDebugDumpAttrList(output, node->properties, depth + 1);
     if (node->type != XML_ENTITY_REF_NODE) {
-	if (node->content != NULL) {
+	if ((node->type != XML_ELEMENT_NODE) &&
+	    (node->content != NULL)) {
             shift[2 * i] = shift[2 * i + 1] = ' ' ;
             shift[2 * i + 2] = shift[2 * i + 3] = 0 ;
 	    fprintf(output, shift);
@@ -818,7 +820,8 @@
 	fprintf(output, "SYSTEM \"%s\"", cur->SystemID);
     if (cur->orig != NULL)
 	fprintf(output, "\n orig \"%s\"", cur->orig);
-    if (cur->content != NULL)
+    if ((cur->type != XML_ELEMENT_NODE) &&
+	(cur->content != NULL))
 	fprintf(output, "\n content \"%s\"", cur->content);
     fprintf(output, "\n");	
 }