src/java.xml/share/classes/com/sun/org/apache/xalan/internal/xsltc/compiler/LiteralElement.java
changeset 47359 e1a6c0168741
parent 47216 71c04702a3d5
child 48409 5ab69533994b
equal deleted inserted replaced
47358:d07d5f7cab35 47359:e1a6c0168741
     1 /*
     1 /*
     2  * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
       
     3  * @LastModified: Oct 2017
     3  */
     4  */
     4 /*
     5 /*
     5  * Licensed to the Apache Software Foundation (ASF) under one or more
     6  * Licensed to the Apache Software Foundation (ASF) under one or more
     6  * contributor license agreements.  See the NOTICE file distributed with
     7  * contributor license agreements.  See the NOTICE file distributed with
     7  * this work for additional information regarding copyright ownership.
     8  * this work for additional information regarding copyright ownership.
   100             }
   101             }
   101         }
   102         }
   102 
   103 
   103         // Check if we have any declared namespaces
   104         // Check if we have any declared namespaces
   104         if (_accessedPrefixes == null) {
   105         if (_accessedPrefixes == null) {
       
   106             // use Hashtable for behavior compatibility
   105             _accessedPrefixes = new Hashtable<>();
   107             _accessedPrefixes = new Hashtable<>();
   106         }
   108         }
   107         else {
   109         else {
   108             if (!declared) {
   110             if (!declared) {
   109                 // Check if this node has a declaration for this namespace
   111                 // Check if this node has a declaration for this namespace