2006/unicorn/org/w3c/unicorn/output XHTMLize.java,1.6,1.7

Update of /sources/public/2006/unicorn/org/w3c/unicorn/output
In directory hutz:/tmp/cvs-serv10640/org/w3c/unicorn/output

Modified Files:
	XHTMLize.java 
Log Message:
MimeTypes work again for DirectInput

Index: XHTMLize.java
===================================================================
RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/output/XHTMLize.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- XHTMLize.java	2 Sep 2008 13:22:16 -0000	1.6
+++ XHTMLize.java	19 Sep 2008 18:57:12 -0000	1.7
@@ -27,6 +27,9 @@
 	 * Escape the XML entities for all inserted references.
 	 */
 	public Object referenceInsert(final String sUnused, final Object oValue) {
+    if(oValue == null) {
+      return null;
+    }
 		if (oValue instanceof A) {
 			A link = (A) oValue;
 			return insertA(link);

Received on Friday, 19 September 2008 18:57:47 UTC