W3C home > Mailing lists > Public > www-validator-cvs@w3.org > September 2008

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

From: Jean-Guilhem Rouel via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 19 Sep 2008 18:57:14 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1KglAI-0002p6-6o@lionel-hutz.w3.org>

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:02:30 UTC