< prev index next >

src/java.xml/share/classes/com/sun/org/apache/xalan/internal/xsltc/compiler/XSLTC.java

Print this page
rev 959 : 8162598: XSLTC transformer swallows empty namespace declaration which is needed to undeclare default namespace

*** 1,7 **** /* ! * Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved. */ /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. --- 1,7 ---- /* ! * Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved. */ /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership.
*** 15,27 **** * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ - /* - * $Id: XSLTC.java,v 1.2.4.1 2005/09/05 09:51:38 pvedula Exp $ - */ package com.sun.org.apache.xalan.internal.xsltc.compiler; import com.sun.org.apache.bcel.internal.classfile.JavaClass; import com.sun.org.apache.xalan.internal.XalanConstants; --- 15,24 ----
*** 39,48 **** --- 36,46 ---- import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.security.AccessController; import java.security.PrivilegedAction; + import java.util.ArrayList; import java.util.Collections; import java.util.Date; import java.util.Enumeration; import java.util.HashMap; import java.util.Map;
*** 156,170 **** /** * Extension function class loader variables */ ! /* Class loader reference that will be used to external extension functions loading */ private ClassLoader _extensionClassLoader; /** ! * HashSet with the loaded classes */ private final Map<String, Class> _externalExtensionFunctions; /** * XSLTC compiler constructor --- 154,168 ---- /** * Extension function class loader variables */ ! /* Class loader reference that will be used for external extension functions loading */ private ClassLoader _extensionClassLoader; /** ! * HashMap with the loaded classes */ private final Map<String, Class> _externalExtensionFunctions; /** * XSLTC compiler constructor
*** 284,294 **** _externalExtensionFunctions.put(name, clazz); } } /* ! * Function loads an external external extension functions. * The filtering of function types (external,internal) takes place in FunctionCall class * */ Class loadExternalFunction(String name) throws ClassNotFoundException { Class loaded = null; --- 282,292 ---- _externalExtensionFunctions.put(name, clazz); } } /* ! * Function loads an external extension function. * The filtering of function types (external,internal) takes place in FunctionCall class * */ Class loadExternalFunction(String name) throws ClassNotFoundException { Class loaded = null;
*** 602,620 **** /** * Get a Vector containing all compile error messages * @return A Vector containing all compile error messages */ ! public Vector getErrors() { return _parser.getErrors(); } /** * Get a Vector containing all compile warning messages * @return A Vector containing all compile error messages */ ! public Vector getWarnings() { return _parser.getWarnings(); } /** * Print all compile error messages to standard output --- 600,618 ---- /** * Get a Vector containing all compile error messages * @return A Vector containing all compile error messages */ ! public ArrayList<ErrorMsg> getErrors() { return _parser.getErrors(); } /** * Get a Vector containing all compile warning messages * @return A Vector containing all compile error messages */ ! public ArrayList<ErrorMsg> getWarnings() { return _parser.getWarnings(); } /** * Print all compile error messages to standard output
< prev index next >