The attached diff fixes a missing closing tag "</imagedata>" and
converts the value of the "format" attribute to uppercase when
exporting images to docbook xml.
This will make sure that abiword produces valid docbook xml (at least
the <figure> part is valid xml).
--
Ben Mesman Snow b.v. - Unix consultants & OO developers
The Amazing Snowmen Produktgroep Open Source
Index: src/wp/impexp/xp/ie_exp_DocBook.cpp
===================================================================
RCS file: /cvsroot/abi/src/wp/impexp/xp/ie_exp_DocBook.cpp,v
retrieving revision 1.24
diff -u -r1.24 ie_exp_DocBook.cpp
--- src/wp/impexp/xp/ie_exp_DocBook.cpp 30 Mar 2002 19:54:36 -0000 1.24
+++ src/wp/impexp/xp/ie_exp_DocBook.cpp 15 Apr 2002 10:35:16 -0000
@@ -643,7 +643,7 @@
m_pie->write(UT_basename(m_pie->getFileName()));
m_pie->write("_data/");
m_pie->write(buf);
- m_pie->write("\" format =
\"png\"></imageobject>");
+ m_pie->write("\"
+format=\"PNG\"></imagedata></imageobject>");
m_pie->write("</mediaobject></figure>");
}