Parent Directory | Revision Log | Patch
--- cocoon/trunk/src/java/org/apache/cocoon/transformation/CIncludeTransformer.java 2005/04/26 16:42:48 164814 +++ cocoon/trunk/src/java/org/apache/cocoon/transformation/CIncludeTransformer.java 2005/04/26 16:43:13 164815 @@ -1,5 +1,5 @@ /* - * Copyright 1999-2004 The Apache Software Foundation. + * Copyright 1999-2005 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -122,11 +122,10 @@ import java.util.Map; * * @author <a href="mailto:cziegeler@apache.org">Carsten Ziegeler</a> * @author <a href="mailto:acoliver@apache.org">Andrew C. Oliver</a> - * @version CVS $Id$ + * @version $Id$ */ -public class CIncludeTransformer -extends AbstractSAXTransformer -implements Disposable, CacheableProcessingComponent { +public class CIncludeTransformer extends AbstractSAXTransformer + implements Disposable, CacheableProcessingComponent { public static final String CINCLUDE_NAMESPACE_URI = "http://apache.org/cocoon/include/1.0"; public static final String CINCLUDE_INCLUDE_ELEMENT = "include"; @@ -505,14 +504,13 @@ implements Disposable, CacheableProcessi // usual no caching stuff if (!"".equals(element)) { - AttributesImpl attrs = new AttributesImpl(); if (!ns.equals("")) { super.startPrefixMapping(prefix, ns); } super.startElement(ns, element, (!ns.equals("") && !prefix.equals("") ? prefix+":"+element : element), - attrs); + XMLUtils.EMPTY_ATTRIBUTES); } Source source = null;
infrastructure at apache.org | ViewVC Help |
Powered by ViewVC 1.1.26 |